github.com/cilium/cilium@v1.16.2/test/k8s/manifests/fqdn-proxy-multiple-specs-v2.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      - matchPattern: "www.cilium.io"
    18    endpointSelector:
    19      matchLabels:
    20        id: app2
    21  - egress:
    22    - toPorts:
    23      - ports:
    24        - port: '53'
    25          protocol: ANY
    26        rules:
    27          dns:
    28          - matchPattern: "*"
    29    - toFQDNs:
    30      - matchPattern: "cilium.io"
    31    endpointSelector:
    32      matchLabels:
    33        id: app3
    34