From 84062e27b5801866a163ee822152faf6b14676e5 Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Fri, 22 Nov 2024 09:58:41 -0500 Subject: [PATCH] add ingress rule to allow external traffic --- charts/cryostat/templates/networkpolicy_ingress.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/cryostat/templates/networkpolicy_ingress.yaml b/charts/cryostat/templates/networkpolicy_ingress.yaml index d267fa3..a244010 100644 --- a/charts/cryostat/templates/networkpolicy_ingress.yaml +++ b/charts/cryostat/templates/networkpolicy_ingress.yaml @@ -16,4 +16,8 @@ spec: namespaceSelector: matchLabels: kubernetes.io/metadata.name: {{ .Release.Namespace }} + - from: + - namespaceSelector: + matchLabels: + policy-group.network.openshift.io/ingress: "" {{- end }}