feat(argo-cd): Add honorLabels config for ServiceMonitor resources (#3018)

add honorLabels config for ServiceMonitor resources

Signed-off-by: DIVET Etienne <etienne.divet@enedis.fr>
Co-authored-by: DIVET Etienne <etienne.divet@enedis.fr>
Co-authored-by: Aikawa <yu.croco@gmail.com>
This commit is contained in:
Etienne Divet 2024-11-10 02:42:00 +01:00 committed by GitHub
parent 0f79d5af86
commit 0061e14563
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 30 additions and 2 deletions

View file

@ -34,6 +34,7 @@ spec:
metricRelabelings:
{{- toYaml . | nindent 8 }}
{{- end }}
honorLabels: {{ .Values.controller.metrics.serviceMonitor.honorLabels }}
{{- with .Values.controller.metrics.serviceMonitor.scheme }}
scheme: {{ . }}
{{- end }}