github.com/elfadel/cilium@v1.6.12/test/k8sT/manifests/guestbook-policy-web.yaml (about)

     1  apiVersion: "cilium.io/v2"
     2  kind: CiliumNetworkPolicy
     3  metadata:
     4    name: "guestbook-policy-web"
     5  spec:
     6    endpointSelector:
     7      matchLabels:
     8        app: guestbook
     9    ingress:
    10    - fromEndpoints:
    11      - matchLabels:
    12          "reserved.world": ""
    13      toPorts:
    14      - ports:
    15        - port: "80"
    16          protocol: TCP