github.com/fafucoder/cilium@v1.6.11/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  }]