From 221be22b1ae4d2c3ea53eab1118e37b2f33dc7e4 Mon Sep 17 00:00:00 2001 From: Pedro Maximino Date: Mon, 14 Oct 2024 15:03:23 +0200 Subject: [PATCH] swan-cern: Include namespace of prometheus deployment in network policy This change was introduced as the prometheus deployments are located in the kube-system namespace, which is different from the namespace where the network policies are deployed. --- swan-cern/values.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/swan-cern/values.yaml b/swan-cern/values.yaml index 402ebea..56bdaf1 100644 --- a/swan-cern/values.yaml +++ b/swan-cern/values.yaml @@ -212,6 +212,9 @@ swan: - podSelector: matchLabels: app.kubernetes.io/name: prometheus + namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: kube-system custom: cull: # 4 hours