From e78ff3df4c60306df60c25c9a7da71031fde9159 Mon Sep 17 00:00:00 2001 From: Ian Davis Date: Sun, 2 Oct 2022 18:58:37 +0100 Subject: [PATCH] Revert to using https when generating a baseUrl `https` is a more secure default than `http`. Additionally, the previous helper file created `https` baseUrls, so upgrading to the new chart version will cause the base URL of the server to change if folks don't have `baseUrlOverride` set. --- community-solid-server/templates/_helpers.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/community-solid-server/templates/_helpers.tpl b/community-solid-server/templates/_helpers.tpl index 03aa2ce..df36110 100644 --- a/community-solid-server/templates/_helpers.tpl +++ b/community-solid-server/templates/_helpers.tpl @@ -68,8 +68,8 @@ Pass a correct baseUrl {{- if .Values.baseUrlOverride }} {{- .Values.baseUrlOverride }} {{- else if .Values.ingress.enabled }} -{{- printf "http://%s%s" .Values.ingress.host .Values.ingress.path}} +{{- printf "https://%s%s" .Values.ingress.host .Values.ingress.path}} {{- else }} -{{- printf "http://%s.%s/" ( include "community-solid-server.fullname" . ) .Release.Namespace }} +{{- printf "https://%s.%s/" ( include "community-solid-server.fullname" . ) .Release.Namespace }} +{{- end }} {{- end }} -{{- end }} \ No newline at end of file