1
0
mirror of https://github.com/alexandrev/xslt-lab.git synced 2026-09-20 04:23:16 +00:00

feat(chart): allow configuring backend URL

This commit is contained in:
2025-07-04 11:41:39 +02:00
parent 7b7c63f4c6
commit 03215dc44d
4 changed files with 9 additions and 2 deletions
@@ -22,7 +22,7 @@ spec:
imagePullPolicy: {{ .Values.image.frontend.pullPolicy }}
env:
- name: VITE_BACKEND_URL
value: http://{{ include "xslt-playground.fullname" . }}-backend:{{ .Values.service.backend.port }}
value: {{ default (printf "http://%s-backend:%d" (include "xslt-playground.fullname" .) .Values.service.backend.port) .Values.frontend.backendUrl | quote }}
{{- if .Values.firebase.enabled }}
- name: VITE_FIREBASE_CONFIG
valueFrom: