From c211100bc82680095293935ff4f410cb6bca29fe Mon Sep 17 00:00:00 2001 From: OZG-Cloud Team <noreply@ozg-sh.de> Date: Fri, 9 Feb 2024 09:05:16 +0100 Subject: [PATCH] network policy add ssh port forward port --- xta-adapter/src/main/helm/templates/network_policy.yaml | 2 ++ xta-adapter/src/test/helm/network_policy_test.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/xta-adapter/src/main/helm/templates/network_policy.yaml b/xta-adapter/src/main/helm/templates/network_policy.yaml index af39de58..f8261b08 100644 --- a/xta-adapter/src/main/helm/templates/network_policy.yaml +++ b/xta-adapter/src/main/helm/templates/network_policy.yaml @@ -64,6 +64,8 @@ spec: protocol: TCP - port: 80 protocol: TCP + - port: 9000 + protocol: TCP {{- with (.Values.networkPolicy).additionalEgressConfig }} {{ toYaml . | indent 2 }} {{- end }} diff --git a/xta-adapter/src/test/helm/network_policy_test.yaml b/xta-adapter/src/test/helm/network_policy_test.yaml index 9ef79112..62eac6b1 100644 --- a/xta-adapter/src/test/helm/network_policy_test.yaml +++ b/xta-adapter/src/test/helm/network_policy_test.yaml @@ -86,6 +86,8 @@ tests: protocol: TCP - port: 80 protocol: TCP + - port: 9000 + protocol: TCP - it: add egress rules by values set: -- GitLab