github.com/looshlee/cilium@v1.6.12/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