Skip to content
Snippets Groups Projects
Verified Commit fb7f5052 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(shared): Add kube-dns to outgoing network policies

parent 4d2c1b96
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment