From bcd854dcca737b06c17b00de8c1d1c67a228b10f Mon Sep 17 00:00:00 2001 From: Maarten de Waard Date: Fri, 10 Jun 2022 09:46:38 +0200 Subject: [PATCH] Add "REACT_APP_HYDRA_PUBLIC_URL" variable to deployment --- deployment/helmchart/templates/configmaps.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deployment/helmchart/templates/configmaps.yaml b/deployment/helmchart/templates/configmaps.yaml index 6d02f35..a6c9346 100644 --- a/deployment/helmchart/templates/configmaps.yaml +++ b/deployment/helmchart/templates/configmaps.yaml @@ -19,6 +19,8 @@ data: KRATOS_PUBLIC_URL: {{ .Values.backend.kratos.publicUrl }} KRATOS_ADMIN_URL: {{ .Values.backend.kratos.adminUrl }} HYDRA_PUBLIC_URL: {{ .Values.backend.oidc.baseUrl }} + # React can only read this env variable if it's prepended with REACT_APP + REACT_APP_HYDRA_PUBLIC_URL: {{ .Values.backend.oidc.baseUrl }} HYDRA_ADMIN_URL: {{ .Values.backend.hydra.adminUrl }} LOGIN_PANEL_URL: {{ .Values.backend.loginPanelUrl }} DATABASE_URL: {{ .Values.backend.databaseUrl }}