github.com/looshlee/cilium@v1.6.12/examples/policies/l3/simple/l3_egress.yaml (about)

     1  apiVersion: "cilium.io/v2"
     2  kind: CiliumNetworkPolicy
     3  metadata:
     4    name: "l3-egress-rule"
     5  spec:
     6    endpointSelector:
     7      matchLabels:
     8        role: frontend
     9    egress:
    10    - toEndpoints:
    11      - matchLabels:
    12          role: backend