fix: use correct labelSelectors for controller ServiceMonitor

Signed-off-by: Jesse Bye <8467862+jessebye@users.noreply.github.com>
This commit is contained in:
Jesse Bye 2023-12-15 11:07:18 -08:00
parent 77a4196fc3
commit a6337f0d8d

View file

@ -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 }}