github.phpd.cn/cilium/cilium@v1.6.12/test/k8sT/manifests/l7-policy-demo.yaml (about)

     1  apiVersion: "cilium.io/v2"
     2  kind: CiliumNetworkPolicy
     3  description: "L7 policy for allowing all traffic via proxy in demo DS"
     4  metadata:
     5    name: "l7-policy-demo"
     6  spec:
     7    endpointSelector:
     8      matchLabels:
     9        zgroup: testDS
    10    ingress:
    11    - toPorts:
    12      - ports:
    13        - port: "80"
    14          protocol: TCP
    15        rules:
    16          http:
    17          - {}