github.com/elfadel/cilium@v1.6.12/test/k8sT/manifests/cnp-to-entities-world.yaml (about)

     1  apiVersion: "cilium.io/v2"
     2  kind: CiliumNetworkPolicy
     3  metadata:
     4    name: "to-entities-world"
     5  spec:
     6    endpointSelector:
     7      matchLabels:
     8        {}
     9    egress:
    10    - toEntities:
    11      - world
    12    - toEndpoints:
    13      - matchLabels:
    14          k8s:io.kubernetes.pod.namespace: kube-system
    15          k8s-app: kube-dns
    16      toPorts:
    17      - ports:
    18        - port: '53'
    19          protocol: UDP