github.com/cilium/cilium@v1.16.2/test/k8s/manifests/fqdn-proxy-multiple-specs.yaml (about)

     1  apiVersion: "cilium.io/v2"
     2  kind: CiliumNetworkPolicy
     3  metadata:
     4    name: "fqdn-proxy-policy.yaml"
     5  specs:
     6  - description: "fqdn-proxy-policy.yaml"
     7    egress:
     8    - toPorts:
     9      - ports:
    10        - port: '53'
    11          protocol: ANY
    12        rules:
    13          dns:
    14          - matchPattern: "*"
    15    - toFQDNs:
    16      - matchPattern: "vagrant-cache.ci.cilium.io"
    17    endpointSelector:
    18      matchLabels:
    19        id: app2
    20  - egress:
    21    - toPorts:
    22      - ports:
    23        - port: '53'
    24          protocol: ANY
    25        rules:
    26          dns:
    27          - matchPattern: "*"
    28    - toFQDNs:
    29      - matchPattern: "cilium.io"
    30    endpointSelector:
    31      matchLabels:
    32        id: app3