diff --git a/shared/networkpolicies/allow-to-mailbox-org.yaml b/shared/networkpolicies/allow-to-mailbox-org.yaml index a174648585dadc8be345dd787e4bbfe59b80e141..f302e1d8328d369f25e940fa9e1fc3b9f8d60d50 100644 --- a/shared/networkpolicies/allow-to-mailbox-org.yaml +++ b/shared/networkpolicies/allow-to-mailbox-org.yaml @@ -13,5 +13,17 @@ spec: port: 993 - protocol: TCP port: 465 + - to: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: kube-system + podSelector: + matchLabels: + k8s-app: kube-dns + ports: + - port: 53 + protocol: UDP + - port: 53 + protocol: TCP policyTypes: - Egress diff --git a/shared/networkpolicies/allow-to-public-web.yaml b/shared/networkpolicies/allow-to-public-web.yaml index 25b619eed1359930e0b68fe02360430b30b023de..b1f260c72443791c347a47c54158ecb217b56daf 100644 --- a/shared/networkpolicies/allow-to-public-web.yaml +++ b/shared/networkpolicies/allow-to-public-web.yaml @@ -31,5 +31,17 @@ spec: port: 80 - protocol: TCP port: 443 + - to: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: kube-system + podSelector: + matchLabels: + k8s-app: kube-dns + ports: + - port: 53 + protocol: UDP + - port: 53 + protocol: TCP policyTypes: - Egress \ No newline at end of file