github.com/zhyoulun/cilium@v1.6.12/test/k8sT/manifests/fqdn-proxy-multiple-specs.yaml (about)

     1  apiVersion: "cilium.io/v2"
     2  kind: CiliumNetworkPolicy
     3  description: "fqdn-proxy-policy.yaml"
     4  metadata:
     5    name: "fqdn-proxy-policy.yaml"
     6  specs:
     7  - egress:
     8    - toPorts:
     9      - ports:
    10        - port: '53'
    11          protocol: ANY
    12        rules:
    13          dns:
    14          - matchPattern: "*"
    15    - toFQDNs:
    16      - matchPattern: "world1.cilium.test"
    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: "world2.cilium.test"
    30    endpointSelector:
    31      matchLabels:
    32        id: app3