29 lines
605 B
YAML
29 lines
605 B
YAML
apiVersion: networking.istio.io/v1
|
|
kind: Gateway
|
|
metadata:
|
|
name: istio-gateway
|
|
namespace: istio-ingress
|
|
labels:
|
|
sidecar.istio.io/inect: "true"
|
|
spec:
|
|
selector:
|
|
istio: istio-gateway
|
|
servers:
|
|
- port:
|
|
number: 443
|
|
name: https
|
|
protocol: HTTPS
|
|
hosts:
|
|
- '*.apps.linvogel.internal'
|
|
- '*.apps.linvogel.ch'
|
|
tls:
|
|
mode: SIMPLE # enables HTTPS on this port
|
|
credentialName: istio-ingress-tls-secret
|
|
- port:
|
|
number: 80
|
|
name: http
|
|
protocol: HTTP
|
|
hosts:
|
|
- '*.apps.linvogel.internal'
|
|
- '*.apps.linvogel.ch'
|
|
# TODO: secret here |