From e1c51cfc552f77ffefabad851bd80351d5730fed Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Mon, 28 Oct 2024 16:29:45 +0100 Subject: [PATCH] OZG-6867: OZG-7036: Fix Egress to Zufi --- src/test/helm/network_policy_test.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/test/helm/network_policy_test.yaml b/src/test/helm/network_policy_test.yaml index ccd95833..6db0ccf6 100644 --- a/src/test/helm/network_policy_test.yaml +++ b/src/test/helm/network_policy_test.yaml @@ -84,16 +84,19 @@ tests: port: 8081 egress: - to: - - podSelector: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: "zufi" + podSelector: matchLabels: - component: zufi-server + component: "zufi-server" ports: - port: 9090 protocol: TCP - to: - podSelector: matchLabels: - component: ozgcloud-mongodb + component: "ozgcloud-mongodb" ports: - port: 27017 protocol: TCP -- GitLab