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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user