From 23de78796fd5235869c15cc7e999e9dab050ff9c Mon Sep 17 00:00:00 2001 From: lou-lan Date: Wed, 6 Nov 2024 19:36:34 +0800 Subject: [PATCH] Remove ServiceMonitor dup namespaceSelector Signed-off-by: lou-lan --- charts/spiderpool/templates/servicemonitor.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/charts/spiderpool/templates/servicemonitor.yaml b/charts/spiderpool/templates/servicemonitor.yaml index b56ce2ec3f..1efa346235 100644 --- a/charts/spiderpool/templates/servicemonitor.yaml +++ b/charts/spiderpool/templates/servicemonitor.yaml @@ -15,9 +15,6 @@ metadata: {{- end }} {{- end }} spec: - namespaceSelector: - matchNames: - - {{ .Release.Namespace }} selector: matchLabels: {{- if .Values.global.commonLabels }}