Correction gse-ingress-allow.yaml

This commit is contained in:
Fabrice Didon 2024-09-27 23:57:39 +02:00
parent 990ee38a3a
commit abcfd07535

View File

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