Browse Source

Fix volume annotations in volume-servicemonitor.yaml (#7193)

* Update volume annotations in servicemonitor.yaml

* Idiomatic annotations handling in volume-servicemonitor.yaml
pull/7195/head
Cristian Chiru 1 month ago
committed by GitHub
parent
commit
e030530aab
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      k8s/charts/seaweedfs/templates/volume/volume-servicemonitor.yaml

4
k8s/charts/seaweedfs/templates/volume/volume-servicemonitor.yaml

@ -21,9 +21,9 @@ metadata:
{{- with $.Values.global.monitoring.additionalLabels }} {{- with $.Values.global.monitoring.additionalLabels }}
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
{{- if .Values.volume.annotations }}
{{- with $volume.annotations }}
annotations: annotations:
{{- toYaml .Values.volume.annotations | nindent 4 }}
{{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
spec: spec:
endpoints: endpoints:

Loading…
Cancel
Save