istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pilot/pkg/config/kube/gateway/testdata/eastwest-tlsoption.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: 35443
    24      protocol: TLS
    25      tls:
    26        mode: Passthrough
    27        options:
    28          gateway.istio.io/listener-protocol: auto-passthrough
    29  ---
    30  apiVersion: gateway.networking.k8s.io/v1alpha2
    31  kind: TLSRoute
    32  metadata:
    33    name: eastwestgateway-grpc
    34    namespace: istio-system
    35  spec:
    36    parentRefs:
    37    - name: eastwestgateway
    38      kind: Gateway
    39      sectionName: istiod-grpc
    40    rules:
    41    - backendRefs:
    42      - name: istiod
    43        port: 15012
    44  ---
    45  apiVersion: gateway.networking.k8s.io/v1alpha2
    46  kind: TLSRoute
    47  metadata:
    48    name: eastwestgateway-webhook
    49    namespace: istio-system
    50  spec:
    51    parentRefs:
    52    - name: eastwestgateway
    53      kind: Gateway
    54      sectionName: istiod-webhook
    55    rules:
    56    - backendRefs:
    57      - name: istiod
    58        port: 15017