diff --git a/alfa-client/src/main/helm/templates/network_policy.yaml b/alfa-client/src/main/helm/templates/network_policy.yaml index 3c7abcf42eb79b81ed7cfb6d4401fba16f1efe65..e46a3db9cd57ec2279ad229081e9ee73dda05a03 100644 --- a/alfa-client/src/main/helm/templates/network_policy.yaml +++ b/alfa-client/src/main/helm/templates/network_policy.yaml @@ -21,15 +21,6 @@ spec: {{ toYaml . | indent 2 }} {{- end }} egress: - - to: - - namespaceSelector: - matchLabels: - kubernetes.io/metadata.name: fachstelle - podSelector: - matchLabels: - component: fachstelle-server - ports: - - port: 8080 - to: - namespaceSelector: matchLabels: diff --git a/alfa-client/src/test/helm/network_policy_test.yaml b/alfa-client/src/test/helm/network_policy_test.yaml index 75d8eb59914479e5f9e337395c09f045220e062f..59135be4c58e3eadffeb0029f078c8c8ce868419 100644 --- a/alfa-client/src/test/helm/network_policy_test.yaml +++ b/alfa-client/src/test/helm/network_policy_test.yaml @@ -55,23 +55,7 @@ tests: name: network-policy-alfa-client namespace: by-helm-test - - it: should add egress rule to fachstelle-server service - set: - networkPolicy: - dnsServerNamespace: kube-system - asserts: - - contains: - path: spec.egress - content: - to: - - namespaceSelector: - matchLabels: - kubernetes.io/metadata.name: fachstelle - podSelector: - matchLabels: - component: fachstelle-server - ports: - - port: 8080 + - it: should add egress rule to dns service set: