istio.io/istio@v0.0.0-20240520182934-d79c90f27776/tests/testdata/config/ingressgateway.yaml (about) 1 apiVersion: networking.istio.io/v1alpha3 2 kind: Gateway 3 metadata: 4 name: istio-ingressgateway 5 namespace: testns 6 spec: 7 selector: 8 # DO NOT CHANGE THESE LABELS 9 # The ingressgateway is defined in install/kubernetes/helm/istio/values.yaml 10 # with these labels 11 istio: ingressgateway 12 servers: 13 - port: 14 number: 80 #also declared in gateway's deployment files 15 name: http 16 protocol: HTTP 17 hosts: 18 - uk.bookinfo.com 19 #tls: 20 # httpsRedirect: true # sends 302 redirect for http requests 21 - port: 22 number: 443 23 name: https 24 protocol: HTTPS 25 hosts: 26 - uk.bookinfo.com 27 tls: 28 # We can reuse the standard Istio certs mounted in the gateway 29 mode: SIMPLE #enables HTTPS on this port 30 serverCertificate: /etc/certs/cert-chain.pem 31 privateKey: /etc/certs/key.pem 32 caCertificates: /etc/certs/root-cert.pem 33 #mode: MUTUAL # TODO