github.com/fafucoder/cilium@v1.6.11/test/k8sT/manifests/invalid_cnp.yaml (about)

     1  ---
     2  apiVersion: cilium.io/v2
     3  kind: CiliumNetworkPolicy
     4  metadata:
     5    name: foo
     6  specs:
     7  - endpointSelector:
     8      matchLabels:
     9        any:id: foo
    10    ingress:
    11    - fromEndpoints:
    12      - {}
    13      toPorts:
    14      - ports:
    15        - port: "80"
    16          protocol: UDP
    17        rules:
    18          http:
    19          - method: GET
    20            path: /private