apiVersion: networking.istio.io/v1 kind: Gateway metadata: name: ingress-gateway namespace: istio-ingress spec: selector: app: istio-ingress servers: - port: number: 80 name: http protocol: HTTP hosts: - '*.apps.linvogel.ch' - '*.apps.linvogel.internal' tls: #httpsRedirect: true # TODO: sends 301 redirect for http requests httpsRedirect: false - port: number: 443 name: https protocol: HTTPS hosts: - '*.apps.linvogel.ch' - '*.apps.linvogel.internal' tls: mode: SIMPLE serverCertificate: /etc/certs/servercert.pem privateKey: /etc/certs/privatekey.pem