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: