github.com/cilium/cilium@v1.16.2/test/controlplane/services/dualstack/manifests/echo-policy.yaml (about)

     1  apiVersion: "cilium.io/v2"
     2  kind: CiliumNetworkPolicy
     3  metadata:
     4    name: "allow-all-within-namespace"
     5  spec:
     6    endpointSelector:
     7      matchLabels:
     8        name: echo
     9    egress:
    10      - toEndpoints:
    11          - matchLabels:
    12              "k8s:io.kubernetes.pod.namespace": default
    13    ingress:
    14      - fromEndpoints:
    15          - matchLabels:
    16              "k8s:io.kubernetes.pod.namespace": default