From 5c9f74c6093e54e93dd233e56a03ef311987a684 Mon Sep 17 00:00:00 2001 From: zhenyus Date: Mon, 17 Mar 2025 23:26:34 +0800 Subject: [PATCH] fix: add name label to service monitor configuration Signed-off-by: zhenyus --- .../templates/central-storage/servicemonitor.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freeleaps/helm-pkg/centralStorage/templates/central-storage/servicemonitor.yaml b/freeleaps/helm-pkg/centralStorage/templates/central-storage/servicemonitor.yaml index a0e3df83..96483632 100644 --- a/freeleaps/helm-pkg/centralStorage/templates/central-storage/servicemonitor.yaml +++ b/freeleaps/helm-pkg/centralStorage/templates/central-storage/servicemonitor.yaml @@ -27,6 +27,6 @@ spec: - {{ .Release.Namespace | quote }} selector: matchLabels: - app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/name: {{ .Release.Name }} {{- end }} \ No newline at end of file