github.com/looshlee/cilium@v1.6.12/examples/policies/l7/kafka/kafka-role.json (about) 1 [{ 2 "labels": [{"key": "name", "value": "rule1"}], 3 "endpointSelector": {"matchLabels": {"app": "kafka"}}, 4 "ingress": [{ 5 "fromEndpoints": [ 6 {"matchLabels": {"app": "empire-hq"}} 7 ], 8 "toPorts": [{ 9 "ports": [ 10 {"port": "9092", "protocol": "TCP"} 11 ], 12 "rules": { 13 "kafka": [ 14 {"role": "produce","topic": "deathstar-plans"}, 15 {"role": "produce", "topic": "empire-announce"} 16 ] 17 } 18 }] 19 }] 20 }]