github.com/cilium/cilium@v1.16.2/test/k8s/manifests/l7-policy-allow.yaml (about) 1 apiVersion: "cilium.io/v2" 2 kind: CiliumNetworkPolicy 3 metadata: 4 name: "l7-policy-default-allow" 5 spec: 6 description: "L7 policy for getting started using Kubernetes guide" 7 endpointSelector: 8 matchLabels: 9 id: app1 10 enableDefaultDeny: 11 ingress: false 12 ingress: 13 - fromEndpoints: 14 - matchLabels: 15 id: app2 16 toPorts: 17 - ports: 18 - port: "80" 19 protocol: TCP 20 rules: 21 http: 22 - method: "GET" 23 path: "/public"