diff --git a/shared/networkpolicies/allow-to-public-web.yaml b/shared/networkpolicies/allow-to-public-web.yaml index 7c9277a65c84765dd9a311875a5ab4c0e8f5bbbb..25b619eed1359930e0b68fe02360430b30b023de 100644 --- a/shared/networkpolicies/allow-to-public-web.yaml +++ b/shared/networkpolicies/allow-to-public-web.yaml @@ -5,6 +5,18 @@ metadata: name: allow-to-public-web spec: egress: + - to: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: nginx-system + podSelector: + matchLabels: + app.kubernetes.io/name: haproxy + ports: + - protocol: TCP + port: 80 + - protocol: TCP + port: 443 - to: - ipBlock: except: