github.com/looshlee/cilium@v1.6.12/examples/policies/kubernetes/namespace/namespace-policy.json (about)

     1  [{
     2      "labels": [{"key": "name", "value": "k8s-svc-account"}],
     3      "endpointSelector": {
     4          "matchLabels": {"name":"leia", "k8s:io.kubernetes.pod.namespace":"ns1"}
     5      },
     6      "ingress": [{
     7          "fromEndpoints": [{
     8  	    "matchLabels":{"name": "luke", "k8s:io.kubernetes.pod.namespace":"ns2"}
     9          }]
    10      }]
    11  }]