Service Monitor: Indent job label.
This commit is contained in:
parent
87efc061e1
commit
8a5841dafb
1 changed files with 2 additions and 2 deletions
|
@ -30,9 +30,9 @@ spec:
|
||||||
{{- if .Values.controller.metrics.serviceMonitor.metricRelabelings }}
|
{{- if .Values.controller.metrics.serviceMonitor.metricRelabelings }}
|
||||||
metricRelabelings: {{ toYaml .Values.controller.metrics.serviceMonitor.metricRelabelings | nindent 4 }}
|
metricRelabelings: {{ toYaml .Values.controller.metrics.serviceMonitor.metricRelabelings | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.controller.metrics.serviceMonitor.jobLabel }}
|
{{- if .Values.controller.metrics.serviceMonitor.jobLabel }}
|
||||||
jobLabel: {{ .Values.controller.metrics.serviceMonitor.jobLabel | quote }}
|
jobLabel: {{ .Values.controller.metrics.serviceMonitor.jobLabel | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.controller.metrics.serviceMonitor.namespaceSelector }}
|
{{- if .Values.controller.metrics.serviceMonitor.namespaceSelector }}
|
||||||
namespaceSelector: {{ toYaml .Values.controller.metrics.serviceMonitor.namespaceSelector | nindent 4 }}
|
namespaceSelector: {{ toYaml .Values.controller.metrics.serviceMonitor.namespaceSelector | nindent 4 }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
|
|
Loading…
Reference in a new issue