From 093e538618bd85ba358283c30f3ebe4d4e25caf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Nussbaumer?= Date: Wed, 14 Feb 2024 15:28:02 +0100 Subject: [PATCH] build(chart): fix servicemonitor namespaceSelector MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/postfinance/kubelet-csr-approver/pull/229 Signed-off-by: Clément Nussbaumer --- charts/kubelet-csr-approver/templates/servicemonitor.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/kubelet-csr-approver/templates/servicemonitor.yaml b/charts/kubelet-csr-approver/templates/servicemonitor.yaml index ac52319..7c5b78b 100644 --- a/charts/kubelet-csr-approver/templates/servicemonitor.yaml +++ b/charts/kubelet-csr-approver/templates/servicemonitor.yaml @@ -17,7 +17,7 @@ spec: jobLabel: {{ .Release.Name }} namespaceSelector: matchNames: - - {{ .Release.Namespace }} + - {{ include "kubelet-csr-approver.namespace" . }} selector: matchLabels: {{- include "kubelet-csr-approver.selectorLabels" . | nindent 6 }}