istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pilot/pkg/config/kube/gateway/testdata/eastwest-labelport.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      networking.istio.io/gatewayPort: 35443
     9  spec:
    10    gatewayClassName: istio
    11    listeners:
    12    - name: istiod-grpc
    13      port: 15012
    14      protocol: TLS
    15      tls:
    16        mode: Passthrough
    17    - name: istiod-webhook
    18      port: 15017
    19      protocol: TLS
    20      tls:
    21        mode: Passthrough
    22    - name: cross-network
    23      hostname: "*.local"
    24      port: 35443
    25      protocol: TLS
    26      tls:
    27        mode: Passthrough
    28  ---
    29  apiVersion: gateway.networking.k8s.io/v1alpha2
    30  kind: TLSRoute
    31  metadata:
    32    name: eastwestgateway-grpc
    33    namespace: istio-system
    34  spec:
    35    parentRefs:
    36    - name: eastwestgateway
    37      kind: Gateway
    38      sectionName: istiod-grpc
    39    rules:
    40    - backendRefs:
    41      - name: istiod
    42        port: 15012
    43  ---
    44  apiVersion: gateway.networking.k8s.io/v1alpha2
    45  kind: TLSRoute
    46  metadata:
    47    name: eastwestgateway-webhook
    48    namespace: istio-system
    49  spec:
    50    parentRefs:
    51    - name: eastwestgateway
    52      kind: Gateway
    53      sectionName: istiod-webhook
    54    rules:
    55    - backendRefs:
    56      - name: istiod
    57        port: 15017