github.com/form3tech-oss/cilium@v1.6.3/examples/policies/l3/service/service-labels.yaml (about)

     1  apiVersion: "cilium.io/v2"
     2  kind: CiliumNetworkPolicy
     3  metadata:
     4    name: "service-labels-rule"
     5  spec:
     6    endpointSelector:
     7      matchLabels:
     8        id: app2
     9    egress:
    10    - toServices:
    11      - k8sServiceSelector:
    12          selector:
    13            matchLabels:
    14              head: none