gitops/helm/istiod/templates/gateway.yaml
2026-06-29 20:37:30 +02:00

32 lines
670 B
YAML

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