github.com/fafucoder/cilium@v1.6.11/examples/policies/l4/init.yaml (about)

     1  apiVersion: "cilium.io/v2"
     2  kind: CiliumNetworkPolicy
     3  metadata:
     4    name: init
     5  specs:
     6    - endpointSelector:
     7        matchLabels:
     8          "reserved:init": ""
     9      ingress:
    10      - fromEntities:
    11        - host
    12      egress:
    13      - toEntities:
    14        - all
    15        toPorts:
    16        - ports:
    17          - port: "53"
    18            protocol: UDP