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

     1  apiVersion: "cilium.io/v2"
     2  kind: CiliumNetworkPolicy
     3  metadata:
     4    name: "from-init"
     5  spec:
     6    endpointSelector:
     7      matchLabels:
     8        app: myService
     9    ingress:
    10      - fromEntities:
    11        - init
    12      - toPorts:
    13        - ports:
    14          - port: "53"
    15            protocol: UDP