Correction gse-ingress-allow.yaml
This commit is contained in:
parent
990ee38a3a
commit
abcfd07535
@ -1,18 +1,21 @@
|
|||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: NetworkPolicy
|
kind: NetworkPolicy
|
||||||
metadata:
|
metadata:
|
||||||
name: gse-coredns-allow
|
name: gse-ingress-allow
|
||||||
namespace: gse
|
namespace: gse
|
||||||
spec:
|
spec:
|
||||||
podSelector: {}
|
podSelector:
|
||||||
|
matchLabels:
|
||||||
|
app: gse
|
||||||
policyTypes:
|
policyTypes:
|
||||||
- Egress
|
- Ingress
|
||||||
egress:
|
ingress:
|
||||||
- to:
|
- from:
|
||||||
- namespaceSelector: {}
|
- namespaceSelector:
|
||||||
|
matchLabels:
|
||||||
|
kubernetes.io/metadata.name: projectcontour
|
||||||
podSelector:
|
podSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
k8s-app: kube-dns
|
app: envoy
|
||||||
ports:
|
ports:
|
||||||
- port: 53
|
- port: 28657
|
||||||
protocol: UDP
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user