From 7a2e37568e43721b1c7425a10fe88206b832a069 Mon Sep 17 00:00:00 2001 From: Keyvan <53298451+K1Hyve@users.noreply.github.com> Date: Fri, 24 Nov 2023 20:12:34 +0100 Subject: [PATCH] Allow requests from MP and S3 connector to catalog-server --- charts/catalog-server/values.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/charts/catalog-server/values.yaml b/charts/catalog-server/values.yaml index 3e1e0d92..40236353 100644 --- a/charts/catalog-server/values.yaml +++ b/charts/catalog-server/values.yaml @@ -126,7 +126,22 @@ readinessProbe: # @default -- check `values.yaml` networkpolicy: policyTypes: + - Ingress - Egress + ingress: + - from: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: '{{ .Release.Namespace }}' + podSelector: + matchLabels: + app.kubernetes.io/name: management-portal + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: '{{ .Release.Namespace }}' + podSelector: + matchLabels: + app.kubernetes.io/name: radar-s3-connector egress: - to: - ipBlock: