diff --git a/packages/extra/monitoring/patches/add-seaweedfs-dashboard.patch b/packages/extra/monitoring/patches/add-seaweedfs-dashboard.patch deleted file mode 100644 index e504d085..00000000 --- a/packages/extra/monitoring/patches/add-seaweedfs-dashboard.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff --git a/packages/extra/monitoring/dashboards.list b/packages/extra/monitoring/dashboards.list ---- a/packages/extra/monitoring/dashboards.list (revision 8951bc13d7d02b5e6982a239570ed58ed7cb025a) -+++ b/packages/extra/monitoring/dashboards.list (revision fa4fff2292c4b79a92db5cd654a3c6bf590252a6) -@@ -37,4 +37,5 @@ - kafka/strimzi-kafka - goldpinger/goldpinger - clickhouse/altinity-clickhouse-operator-dashboard --storage/linstor -\ No newline at end of file -+storage/linstor -+seaweedfs/seaweedfs \ No newline at end of file diff --git a/packages/system/seaweedfs/patches/fix-volume-servicemonitor.patch b/packages/system/seaweedfs/patches/fix-volume-servicemonitor.patch new file mode 100644 index 00000000..b6b40527 --- /dev/null +++ b/packages/system/seaweedfs/patches/fix-volume-servicemonitor.patch @@ -0,0 +1,15 @@ +diff --git a/packages/system/seaweedfs/charts/seaweedfs/templates/volume-servicemonitor.yaml b/packages/system/seaweedfs/charts/seaweedfs/templates/volume-servicemonitor.yaml +--- a/packages/system/seaweedfs/charts/seaweedfs/templates/volume-servicemonitor.yaml (revision 8951bc13d7d02b5e6982a239570ed58ed7cb025a) ++++ b/packages/system/seaweedfs/charts/seaweedfs/templates/volume-servicemonitor.yaml (revision fa4fff2292c4b79a92db5cd654a3c6bf590252a6) +@@ -21,9 +21,9 @@ + {{- with $.Values.global.monitoring.additionalLabels }} + {{- toYaml . | nindent 4 }} + {{- end }} +-{{- if .Values.volume.annotations }} ++{{- if $.Values.volume.annotations }} + annotations: +- {{- toYaml .Values.volume.annotations | nindent 4 }} ++ {{- toYaml $.Values.volume.annotations | nindent 4 }} + {{- end }} + spec: + endpoints: \ No newline at end of file