From f21d94a52d06d102098b22a059b98bce9796c1d9 Mon Sep 17 00:00:00 2001 From: Jonny McCullagh Date: Thu, 20 Apr 2023 13:57:34 +0100 Subject: [PATCH] allow ssl-policy annotation in helm chart (#10357) --- charts/budibase/templates/alb-ingress.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/budibase/templates/alb-ingress.yaml b/charts/budibase/templates/alb-ingress.yaml index c128b70843..6cd1cf2cba 100644 --- a/charts/budibase/templates/alb-ingress.yaml +++ b/charts/budibase/templates/alb-ingress.yaml @@ -14,6 +14,9 @@ metadata: alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS":443}]' alb.ingress.kubernetes.io/certificate-arn: {{ .Values.ingress.certificateArn }} {{- end }} + {{- if .Values.ingress.sslPolicy }} + alb.ingress.kubernetes.io/actions.ssl-policy: {{ .Values.ingress.sslPolicy }} + {{- end }} {{- if .Values.ingress.securityGroups }} alb.ingress.kubernetes.io/security-groups: {{ .Values.ingress.securityGroups }} {{- end }}