fix(argo-cd): proper selectors for notifications metrics (#1176)

* fix(argo-cd): proper selectors for notifications metrics

Signed-off-by: Lucas Bickel <lucas.bickel@adfinis.com>

* fix(argo-cd): harmonize selectors with appset

Signed-off-by: Lucas Bickel <lucas.bickel@adfinis.com>

* fix(argo-cd): simplify selector in service

Signed-off-by: Lucas Bickel <lucas.bickel@adfinis.com>

* fix(argo-cd): proper label for servicemonitor and suffixed service name

Signed-off-by: Lucas Bickel <lucas.bickel@adfinis.com>
This commit is contained in:
Lucas Bickel 2022-03-17 13:53:53 +01:00 committed by GitHub
parent 32a06059c3
commit 8e51693a82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -2,7 +2,7 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ template "argo-cd.notifications.fullname" . }}-metrics
name: {{ template "argo-cd.notifications.fullname" . }}
{{- if .Values.notifications.metrics.serviceMonitor.namespace }}
namespace: {{ .Values.notifications.metrics.serviceMonitor.namespace }}
{{- end }}