fix(argo-events): Fix selectorLabels of ServiceMonitor (#1361)

Signed-off-by: darklore <zodiac.brave.story@gmail.com>
This commit is contained in:
darklore 2022-07-06 21:38:55 +09:00 committed by GitHub
parent 6d2dd8cca7
commit e40abee91f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

@ -34,5 +34,5 @@ spec:
- {{ .Release.Namespace }}
selector:
matchLabels:
{{- include "argo-events.selectorLabels" (dict "context" . "component" .Values.controller.name "name" "metrics") | nindent 6 }}
{{- include "argo-events.selectorLabels" (dict "context" . "component" .Values.controller.name "name" (printf "%s-metrics" .Values.controller.name)) | nindent 6 }}
{{- end }}