github.phpd.cn/cilium/cilium@v1.6.12/test/k8sT/manifests/cnp-update-deny-ingress.yaml (about) 1 apiVersion: "cilium.io/v2" 2 kind: CiliumNetworkPolicy 3 description: "Policy with the same name as cnp-update-allow-all to test CNP update" 4 metadata: 5 name: "cnp-update" 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