istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pilot/pkg/config/kube/gateway/testdata/eastwest.yaml (about)

     1  apiVersion: gateway.networking.k8s.io/v1beta1
     2  kind: Gateway
     3  metadata:
     4    name: eastwestgateway
     5    namespace: istio-system
     6    labels:
     7      topology.istio.io/network: "network-1"
     8  spec:
     9    gatewayClassName: istio
    10    listeners:
    11    - name: istiod-grpc
    12      port: 15012
    13      protocol: TLS
    14      tls:
    15        mode: Passthrough
    16    - name: istiod-webhook
    17      port: 15017
    18      protocol: TLS
    19      tls:
    20        mode: Passthrough
    21    - name: cross-network
    22      hostname: "*.local"
    23      port: 15443
    24      protocol: TLS
    25      tls:
    26        mode: Passthrough
    27  ---
    28  apiVersion: gateway.networking.k8s.io/v1alpha2
    29  kind: TLSRoute
    30  metadata:
    31    name: eastwestgateway-grpc
    32    namespace: istio-system
    33  spec:
    34    parentRefs:
    35    - name: eastwestgateway
    36      kind: Gateway
    37      sectionName: istiod-grpc
    38    rules:
    39    - backendRefs:
    40      - name: istiod
    41        port: 15012
    42  ---
    43  apiVersion: gateway.networking.k8s.io/v1alpha2
    44  kind: TLSRoute
    45  metadata:
    46    name: eastwestgateway-webhook
    47    namespace: istio-system
    48  spec:
    49    parentRefs:
    50    - name: eastwestgateway
    51      kind: Gateway
    52      sectionName: istiod-webhook
    53    rules:
    54    - backendRefs:
    55      - name: istiod
    56        port: 15017