Keep provisioner DNS egress in network policy
This commit is contained in:
parent
816c5c3773
commit
d2c59fbf5e
1 changed files with 4 additions and 4 deletions
|
|
@ -86,6 +86,10 @@ spec:
|
||||||
- podSelector:
|
- podSelector:
|
||||||
matchLabels: {app.kubernetes.io/name: lldap}
|
matchLabels: {app.kubernetes.io/name: lldap}
|
||||||
ports: [{protocol: TCP, port: 17170}]
|
ports: [{protocol: TCP, port: 17170}]
|
||||||
|
- to:
|
||||||
|
- namespaceSelector:
|
||||||
|
matchLabels: {kubernetes.io/metadata.name: kube-system}
|
||||||
|
ports: [{protocol: UDP, port: 53}, {protocol: TCP, port: 53}]
|
||||||
---
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
|
|
@ -112,10 +116,6 @@ spec:
|
||||||
tls:
|
tls:
|
||||||
- hosts: [kc.coulomb.social]
|
- hosts: [kc.coulomb.social]
|
||||||
secretName: kc-tls
|
secretName: kc-tls
|
||||||
- to:
|
|
||||||
- namespaceSelector:
|
|
||||||
matchLabels: {kubernetes.io/metadata.name: kube-system}
|
|
||||||
ports: [{protocol: UDP, port: 53}, {protocol: TCP, port: 53}]
|
|
||||||
---
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: NetworkPolicy
|
kind: NetworkPolicy
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue