github.com/cilium/cilium@v1.16.2/test/k8s/manifests/ccnp-allow-apiserver-default-allow.yaml (about)

     1  apiVersion: "cilium.io/v2"
     2  kind: CiliumClusterwideNetworkPolicy
     3  metadata:
     4    name: ccnp-allow-apiserver-default-allow
     5  spec:
     6    endpointSelector: {}
     7    enableDefaultDeny:
     8      egress: false
     9    egress:
    10      - toEntities:
    11        - kube-apiserver
    12      - toEntities:
    13        - all
    14        toPorts:
    15          - ports:
    16            - port: "53"