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

     1  apiVersion: "cilium.io/v2"
     2  kind: CiliumNetworkPolicy
     3  metadata:
     4    name: "l4-rule"
     5  spec:
     6    endpointSelector:
     7      matchLabels:
     8        app: myService
     9    egress:
    10      - toPorts:
    11        - ports:
    12          - port: "80"
    13            protocol: TCP