From 05ed13ba7ec94d2a70d8646fbb287009a8819178 Mon Sep 17 00:00:00 2001 From: Faizan Ahmad Date: Wed, 4 Dec 2024 17:40:48 +0530 Subject: [PATCH] Fix netpol for cert-manager to allow prometheus scrapes https://gitea.obmondo.com/EnableIT/rufvpto91t/issues/2010 --- argocd-helm-charts/cert-manager/templates/netpol-default.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/argocd-helm-charts/cert-manager/templates/netpol-default.yaml b/argocd-helm-charts/cert-manager/templates/netpol-default.yaml index 32a3972d2..85472b0cf 100644 --- a/argocd-helm-charts/cert-manager/templates/netpol-default.yaml +++ b/argocd-helm-charts/cert-manager/templates/netpol-default.yaml @@ -14,7 +14,7 @@ spec: protocol: TCP source: namespaceSelector: projectcalico.org/name == 'monitoring' - selector: name == prometheus + selector: app.kubernetes.io/name == 'prometheus' destination: ports: - 9402