diff --git a/helm/mail/templates/service-monitor.yaml b/helm/mail/templates/service-monitor.yaml index 4b139f8..d2bd332 100644 --- a/helm/mail/templates/service-monitor.yaml +++ b/helm/mail/templates/service-monitor.yaml @@ -23,7 +23,6 @@ spec: - {{ .Release.Namespace | quote }} selector: matchLabels: - app.kubernetes.io/instance: {{ $chart }} - prometheus: unknown + app.kubernetes.io/instance: {{ .Release.Name }} {{- end -}} {{- end -}}