From 6d363c597564e38077a90016778525cfa5665878 Mon Sep 17 00:00:00 2001 From: zhenyus Date: Mon, 17 Mar 2025 22:54:15 +0800 Subject: [PATCH] fix: comment out managed-by, version, and name labels in service monitor configuration Signed-off-by: zhenyus --- .../templates/authentication/servicemonitor.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/freeleaps/helm-pkg/authentication/templates/authentication/servicemonitor.yaml b/freeleaps/helm-pkg/authentication/templates/authentication/servicemonitor.yaml index c2039552..c9ddaf8f 100644 --- a/freeleaps/helm-pkg/authentication/templates/authentication/servicemonitor.yaml +++ b/freeleaps/helm-pkg/authentication/templates/authentication/servicemonitor.yaml @@ -27,8 +27,8 @@ spec: - {{ .Release.Namespace | quote }} selector: matchLabels: - app.kubernetes.io/managed-by: {{ .Release.Service }} + # app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} - app.kubernetes.io/name: {{ .Release.Name }} + # app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} + # app.kubernetes.io/name: {{ .Release.Name }} {{- end }} \ No newline at end of file