From a6337f0d8d67ab231656d0e0ca65fdbfd01a9754 Mon Sep 17 00:00:00 2001 From: Jesse Bye <8467862+jessebye@users.noreply.github.com> Date: Fri, 15 Dec 2023 11:07:18 -0800 Subject: [PATCH] fix: use correct labelSelectors for controller ServiceMonitor Signed-off-by: Jesse Bye <8467862+jessebye@users.noreply.github.com> --- .../templates/argocd-application-controller/servicemonitor.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/argo-cd/templates/argocd-application-controller/servicemonitor.yaml b/charts/argo-cd/templates/argocd-application-controller/servicemonitor.yaml index 3ce0c10d..df4876fc 100644 --- a/charts/argo-cd/templates/argocd-application-controller/servicemonitor.yaml +++ b/charts/argo-cd/templates/argocd-application-controller/servicemonitor.yaml @@ -43,5 +43,5 @@ spec: - {{ .Release.Namespace }} selector: matchLabels: - {{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.controller.name "name" "metrics") | nindent 6 }} + {{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 6 }} {{- end }}