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

     1  # Mismatch shows that we don't generate config for Gateways that do not match the GatewayClass
     2  apiVersion: gateway.networking.k8s.io/v1beta1
     3  kind: GatewayClass
     4  metadata:
     5    name: istio
     6  spec:
     7    controllerName: istio.io/gateway-controller
     8  ---
     9  apiVersion: gateway.networking.k8s.io/v1beta1
    10  kind: Gateway
    11  metadata:
    12    name: gateway
    13    namespace: istio-system
    14  spec:
    15    addresses:
    16    - value: istio-ingressgateway
    17      type: Hostname
    18    gatewayClassName: something-else
    19    listeners:
    20    - name: default
    21      port: 80
    22      protocol: HTTP