From 824c72318aec8ccdccf12e760c68363776f97d01 Mon Sep 17 00:00:00 2001 From: IvanHunters Date: Wed, 30 Jul 2025 16:31:24 +0300 Subject: [PATCH] fix patches Signed-off-by: IvanHunters --- .../patches/add-seaweedfs-dashboard.patch | 11 ----------- .../patches/fix-volume-servicemonitor.patch | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 11 deletions(-) delete mode 100644 packages/extra/monitoring/patches/add-seaweedfs-dashboard.patch create mode 100644 packages/system/seaweedfs/patches/fix-volume-servicemonitor.patch 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