Service Monitor: Indent endpoints.
This commit is contained in:
parent
aaa685a060
commit
c357f1bce3
1 changed files with 5 additions and 5 deletions
|
@ -19,16 +19,16 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
endpoints:
|
endpoints:
|
||||||
- port: {{ .Values.controller.metrics.portName }}
|
- port: {{ .Values.controller.metrics.portName }}
|
||||||
interval: {{ .Values.controller.metrics.serviceMonitor.scrapeInterval }}
|
interval: {{ .Values.controller.metrics.serviceMonitor.scrapeInterval }}
|
||||||
{{- if .Values.controller.metrics.serviceMonitor.honorLabels }}
|
{{- if .Values.controller.metrics.serviceMonitor.honorLabels }}
|
||||||
honorLabels: true
|
honorLabels: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.controller.metrics.serviceMonitor.relabelings }}
|
{{- if .Values.controller.metrics.serviceMonitor.relabelings }}
|
||||||
relabelings: {{ toYaml .Values.controller.metrics.serviceMonitor.relabelings | nindent 8 }}
|
relabelings: {{ toYaml .Values.controller.metrics.serviceMonitor.relabelings | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.controller.metrics.serviceMonitor.metricRelabelings }}
|
{{- if .Values.controller.metrics.serviceMonitor.metricRelabelings }}
|
||||||
metricRelabelings: {{ toYaml .Values.controller.metrics.serviceMonitor.metricRelabelings | nindent 8 }}
|
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 }}
|
||||||
|
|
Loading…
Reference in a new issue