From f5a8fdb0fa3ee4e007859a3565a22f8793046f57 Mon Sep 17 00:00:00 2001 From: Amarpreet Minhas Date: Wed, 12 Jul 2023 16:52:12 +0000 Subject: [PATCH] Add HSTS to istio headers --- argo/istio-ingress/templates/istio-ingress.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/argo/istio-ingress/templates/istio-ingress.yaml b/argo/istio-ingress/templates/istio-ingress.yaml index b63babd..f22734e 100644 --- a/argo/istio-ingress/templates/istio-ingress.yaml +++ b/argo/istio-ingress/templates/istio-ingress.yaml @@ -72,5 +72,9 @@ spec: port: number: {{ .Values.istio.port }} host: {{ .Values.istio.backendHost }} + headers: + response: + set: + Strict-Transport-Security: max-age=31536000; includeSubDomains ... {{ end }}