Update workflow-controller-servicemonitor.yaml

Signed-off-by: venegator <m.venega94@gmail.com>
This commit is contained in:
venegator 2024-09-13 10:50:00 +02:00 committed by GitHub
parent 6e4825e566
commit e5117fbcb7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,9 +24,7 @@ spec:
metricRelabelings: metricRelabelings:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- if .Values.controller.metricsConfig.honorLabels }} honorLabels: {{ .Values.controller.metricsConfig.honorLabels }}
honorLabels: true
{{- end }}
{{- end }} {{- end }}
{{- if .Values.controller.telemetryConfig.enabled }} {{- if .Values.controller.telemetryConfig.enabled }}
- port: telemetry - port: telemetry
@ -40,9 +38,7 @@ spec:
metricRelabelings: metricRelabelings:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- if .Values.controller.metricsConfig.honorLabels }} honorLabels: {{ .Values.controller.metricsConfig.honorLabels }}
honorLabels: true
{{- end }}
{{- end }} {{- end }}
{{- with .Values.controller.metricsConfig.targetLabels }} {{- with .Values.controller.metricsConfig.targetLabels }}
targetLabels: targetLabels: