github.com/fafucoder/cilium@v1.6.11/examples/policies/getting-started/kafka.yaml (about) 1 apiVersion: "cilium.io/v2" 2 kind: CiliumNetworkPolicy 3 description: "enable outposts to consume empire-announce" 4 metadata: 5 name: "rule2" 6 spec: 7 endpointSelector: 8 matchLabels: 9 app: kafka 10 ingress: 11 - fromEndpoints: 12 - matchLabels: 13 app: empire-outpost 14 toPorts: 15 - ports: 16 - port: "9092" 17 protocol: TCP 18 rules: 19 kafka: 20 - role: "consume" 21 topic: "empire-announce"