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

     1  apiVersion: gateway.networking.k8s.io/v1beta1
     2  kind: GatewayClass
     3  metadata:
     4    name: istio
     5  spec:
     6    controllerName: istio.io/gateway-controller
     7  ---
     8  apiVersion: gateway.networking.k8s.io/v1beta1
     9  kind: Gateway
    10  metadata:
    11    name: gateway
    12    namespace: istio-system
    13  spec:
    14    gatewayClassName: istio
    15    addresses:
    16    - type: Hostname
    17      value: istio-ingressgateway
    18    - type: Hostname
    19      value: istio-ingressgateway.not-default.svc.domain.suffix
    20    - type: Hostname
    21      value: example.com
    22    listeners:
    23    - name: http
    24      hostname: "*.domain.example"
    25      port: 80
    26      protocol: HTTP
    27    - name: tcp
    28      port: 34000
    29      protocol: TCP
    30      allowedRoutes:
    31        namespaces:
    32          from: All