From 9cfd3ffc98145818e51b8d1b530c977b2f557940 Mon Sep 17 00:00:00 2001 From: AlexGacon Date: Thu, 30 Nov 2023 21:05:42 +0100 Subject: [PATCH] Set geonode lb host port based on external scheme (#122) * Configure SUBSTITUTION_URL to fix oauth GS issues --- charts/geonode/templates/geoserver/geoserver-env.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/geonode/templates/geoserver/geoserver-env.yaml b/charts/geonode/templates/geoserver/geoserver-env.yaml index c154cc4..e7a928a 100644 --- a/charts/geonode/templates/geoserver/geoserver-env.yaml +++ b/charts/geonode/templates/geoserver/geoserver-env.yaml @@ -5,6 +5,7 @@ metadata: namespace: {{ .Release.Namespace }} data: GEONODE_LB_HOST_IP: {{ .Values.geonode.general.externalDomain | quote }} + SUBSTITUTION_URL: "{{ include "public_url" . }}/" GEONODE_HOST_IP: localhost DJANGO_URL: http://{{ include "geonode_pod_name" .}}/