github.com/fafucoder/cilium@v1.6.11/test/k8sT/manifests/l7-policy-kafka.yaml (about) 1 apiVersion: "cilium.io/v2" 2 kind: CiliumNetworkPolicy 3 description: "L7 policy to test HTTP -> Kafka type change" 4 metadata: 5 name: "l7-policy" 6 spec: 7 endpointSelector: 8 matchLabels: 9 id: app1 10 ingress: 11 - fromEndpoints: 12 - matchLabels: 13 id: app2 14 toPorts: 15 - ports: 16 - port: "80" 17 protocol: TCP 18 rules: 19 kafka: 20 - apiKey: "apiversions" 21 - apiKey: "metadata"