use relative path for backend URLs

This commit is contained in:
Maarten de Waard 2021-10-05 16:13:59 +02:00
parent e15ac52be7
commit 18276be75d
No known key found for this signature in database
GPG key ID: 1D3E893A657CC8DA
7 changed files with 28 additions and 14 deletions

View file

@ -10,10 +10,8 @@ metadata:
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
data:
REACT_APP_API_URL: "{{ include "adminBackend.serviceName" .}}"
EXTEND_ESLINT: "{{ .Values.adminFrontend.extendEslint }}"
ADMIN_FRONTEND_HOST: "{{ include "adminFrontend.host" . }}"
ADMIN_BACKEND_HOST: "{{ include "adminBackend.host" . }}"
# ADMIN_FRONTEND_HOST: "{{ include "adminFrontend.host" . }}"
# ADMIN_BACKEND_HOST: "{{ include "adminBackend.host" . }}"
# Probably needed in the future:
# ADMIN_BACKEND_USERNAME: {{ .Values.adminBackend.username | quote }}
# ADMIN_BACKEND_EMAIL: {{ .Values.adminBackend.email | quote }}