github.com/fafucoder/cilium@v1.6.11/examples/policies/kubernetes/namespace/namespace-policy.yaml (about) 1 apiVersion: "cilium.io/v2" 2 kind: CiliumNetworkPolicy 3 metadata: 4 name: "k8s-expose-across-namespace" 5 namespace: ns1 6 spec: 7 endpointSelector: 8 matchLabels: 9 name: leia 10 ingress: 11 - fromEndpoints: 12 - matchLabels: 13 k8s:io.kubernetes.pod.namespace: ns2 14 name: luke