From 735dd80d494d28d601691525c021a08c81c440f8 Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Fri, 22 Nov 2024 10:02:45 -0500 Subject: [PATCH] remove explicit namespace setting --- charts/cryostat/templates/networkpolicy_ingress.yaml | 1 - charts/cryostat/tests/networkpolicy_ingress_test.yaml | 3 --- 2 files changed, 4 deletions(-) diff --git a/charts/cryostat/templates/networkpolicy_ingress.yaml b/charts/cryostat/templates/networkpolicy_ingress.yaml index a244010..7e90b29 100644 --- a/charts/cryostat/templates/networkpolicy_ingress.yaml +++ b/charts/cryostat/templates/networkpolicy_ingress.yaml @@ -3,7 +3,6 @@ apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: {{ .Release.Name }}-internal-ingress - namespace: {{ .Release.Namespace }} spec: podSelector: matchLabels: diff --git a/charts/cryostat/tests/networkpolicy_ingress_test.yaml b/charts/cryostat/tests/networkpolicy_ingress_test.yaml index fd97617..2aeadba 100644 --- a/charts/cryostat/tests/networkpolicy_ingress_test.yaml +++ b/charts/cryostat/tests/networkpolicy_ingress_test.yaml @@ -18,9 +18,6 @@ tests: - equal: path: metadata.name value: RELEASE-NAME-internal-ingress - - equal: - path: metadata.namespace - value: NAMESPACE - equal: path: spec.podSelector value: