From 901c0b699c6b1f123da1beeafdf93a91e66d728f Mon Sep 17 00:00:00 2001 From: Amarpreet Minhas Date: Mon, 10 Jul 2023 21:01:30 +0000 Subject: [PATCH] Add 80->443 redirect to all istio gateways --- argo/istio-ingress/templates/istio-ingress.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/argo/istio-ingress/templates/istio-ingress.yaml b/argo/istio-ingress/templates/istio-ingress.yaml index 9a25cdd..0b724ec 100644 --- a/argo/istio-ingress/templates/istio-ingress.yaml +++ b/argo/istio-ingress/templates/istio-ingress.yaml @@ -39,6 +39,17 @@ spec: - {{ .Values.istio.commonName }} {{- range .Values.istio.sans }} - {{ . }} +{{- end }} + - port: + number: 80 + name: https + protocol: HTTP + tls: + httpsRedirect: true + hosts: + - {{ .Values.istio.commonName }} +{{- range .Values.istio.sans }} + - {{ . }} {{- end }} ... ---