github.com/looshlee/beatles@v0.0.0-20220727174639-742810ab631c/examples/policies/l4/cidr_l4_combined.yaml (about) 1 apiVersion: "cilium.io/v2" 2 kind: CiliumNetworkPolicy 3 metadata: 4 name: "cidr-l4-rule" 5 spec: 6 endpointSelector: 7 matchLabels: 8 role: crawler 9 egress: 10 - toCIDR: 11 - 192.0.2.0/24 12 toPorts: 13 - ports: 14 - port: "80" 15 protocol: TCP