aboutsummaryrefslogtreecommitdiff
path: root/k8s/charts
diff options
context:
space:
mode:
authorCristian Chiru <cristi.chiru@gmail.com>2025-09-03 10:34:39 +0300
committerGitHub <noreply@github.com>2025-09-03 00:34:39 -0700
commite030530aabe36bb01503cee1cc64b159d8819797 (patch)
tree6ee695b0bbc6fbdd432937465e37f5faf3822006 /k8s/charts
parent76452ab593995ab52b75e681de5b221de1e3f006 (diff)
downloadseaweedfs-e030530aabe36bb01503cee1cc64b159d8819797.tar.xz
seaweedfs-e030530aabe36bb01503cee1cc64b159d8819797.zip
Fix volume annotations in volume-servicemonitor.yaml (#7193)
* Update volume annotations in servicemonitor.yaml * Idiomatic annotations handling in volume-servicemonitor.yaml
Diffstat (limited to 'k8s/charts')
-rw-r--r--k8s/charts/seaweedfs/templates/volume/volume-servicemonitor.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/k8s/charts/seaweedfs/templates/volume/volume-servicemonitor.yaml b/k8s/charts/seaweedfs/templates/volume/volume-servicemonitor.yaml
index dd8a9f9d7..ac82eb573 100644
--- a/k8s/charts/seaweedfs/templates/volume/volume-servicemonitor.yaml
+++ b/k8s/charts/seaweedfs/templates/volume/volume-servicemonitor.yaml
@@ -21,9 +21,9 @@ metadata:
{{- with $.Values.global.monitoring.additionalLabels }}
{{- toYaml . | nindent 4 }}
{{- end }}
-{{- if .Values.volume.annotations }}
+{{- with $volume.annotations }}
annotations:
- {{- toYaml .Values.volume.annotations | nindent 4 }}
+ {{- toYaml . | nindent 4 }}
{{- end }}
spec:
endpoints: