Skip to content
Snippets Groups Projects
Commit 3ab522ce authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6708 remove ingress rule to antragsraum-server

parent 8a90d818
Branches
Tags
No related merge requests found
......@@ -56,13 +56,6 @@ spec:
- protocol: TCP
port: 8081
{{- if ((.Values.ozgcloud).antragraum).enabled }}
- from:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: {{ required "ozgcloud.antragraum.namespace must be set if antragraum is enabled" ((.Values.ozgcloud).antragraum).namespace }}
podSelector:
matchLabels:
component: antragsraum-server
- from:
- namespaceSelector:
matchLabels:
......
......@@ -140,27 +140,6 @@ tests:
matchLabels:
name: test-monitoring
- it: should add ingress rule for antragraum if antragraum is enabled
set:
networkPolicy:
dnsServerNamespace: test-dns-namespace
ozgcloud:
antragraum:
enabled: true
namespace: antragraum02
antragsraumProxyNamespace: antragraum-proxy
asserts:
- contains:
path: spec.ingress
content:
from:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: antragraum02
podSelector:
matchLabels:
component: antragsraum-server
- it: should add ingress rule for antragraum-proxy if antragraum is enabled
set:
networkPolicy:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment