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

     1  apiVersion: "cilium.io/v2"
     2  kind: CiliumClusterwideNetworkPolicy
     3  metadata:
     4    name: "ccnp-update"
     5  spec:
     6    description: "Policy with the same name as ccnp-update-allow-all to test CCNP update"
     7    endpointSelector:
     8      matchLabels:
     9        id: app1
    10    ingress:
    11    - fromEndpoints:
    12      - matchLabels:
    13          id: app2
    14      toPorts:
    15      - ports:
    16        - port: "80"
    17          protocol: TCP