From e5117fbcb73e11d11fd98334713c4dd79c2301f5 Mon Sep 17 00:00:00 2001 From: venegator Date: Fri, 13 Sep 2024 10:50:00 +0200 Subject: [PATCH] Update workflow-controller-servicemonitor.yaml Signed-off-by: venegator --- .../controller/workflow-controller-servicemonitor.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/charts/argo-workflows/templates/controller/workflow-controller-servicemonitor.yaml b/charts/argo-workflows/templates/controller/workflow-controller-servicemonitor.yaml index bdda4bd0..01844a87 100644 --- a/charts/argo-workflows/templates/controller/workflow-controller-servicemonitor.yaml +++ b/charts/argo-workflows/templates/controller/workflow-controller-servicemonitor.yaml @@ -24,9 +24,7 @@ spec: metricRelabelings: {{- toYaml . | nindent 8 }} {{- end }} - {{- if .Values.controller.metricsConfig.honorLabels }} - honorLabels: true - {{- end }} + honorLabels: {{ .Values.controller.metricsConfig.honorLabels }} {{- end }} {{- if .Values.controller.telemetryConfig.enabled }} - port: telemetry @@ -40,9 +38,7 @@ spec: metricRelabelings: {{- toYaml . | nindent 8 }} {{- end }} - {{- if .Values.controller.metricsConfig.honorLabels }} - honorLabels: true - {{- end }} + honorLabels: {{ .Values.controller.metricsConfig.honorLabels }} {{- end }} {{- with .Values.controller.metricsConfig.targetLabels }} targetLabels: