mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-08 07:04:45 +08:00
Fix volume annotations in volume-servicemonitor.yaml (#7193)
* Update volume annotations in servicemonitor.yaml * Idiomatic annotations handling in volume-servicemonitor.yaml
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user