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