diff --git a/xta-adapter/src/main/helm/templates/network_policy.yaml b/xta-adapter/src/main/helm/templates/network_policy.yaml index af39de580127094d2e02f139e14a73917db1b38e..f8261b0885fd73688689a3f6fb873025e1ba0bde 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 9ef79112e624f12d91d03075677c62a51454b8a9..62eac6b1ad08aca179db7207cfd4071d92bc219e 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: