From 996443315252c45ef93db7bd84b4053d973333e1 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Wed, 24 Jan 2024 19:52:45 +0100 Subject: [PATCH] OZG-3880 network- policy add dns ingress rule for alfa --- src/main/helm/templates/network_policy.yaml | 6 ++++++ src/test/helm/network_policy_test.yaml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/main/helm/templates/network_policy.yaml b/src/main/helm/templates/network_policy.yaml index 8d2ba9a9..d5cea489 100644 --- a/src/main/helm/templates/network_policy.yaml +++ b/src/main/helm/templates/network_policy.yaml @@ -43,6 +43,12 @@ spec: - podSelector: matchLabels: component: vorgang-manager + - ports: + - port: 9000 + from: + - podSelector: + matchLabels: + component: alfa {{- with (.Values.networkPolicy).additionalIngressConfig }} {{ toYaml . | indent 2 }} {{- end }} diff --git a/src/test/helm/network_policy_test.yaml b/src/test/helm/network_policy_test.yaml index 68733ccc..28914dc3 100644 --- a/src/test/helm/network_policy_test.yaml +++ b/src/test/helm/network_policy_test.yaml @@ -67,6 +67,12 @@ tests: - podSelector: matchLabels: component: vorgang-manager + - ports: + - port: 9000 + from: + - podSelector: + matchLabels: + component: alfa egress: - to: - podSelector: -- GitLab