feat(frontend): allow configurable backend host and port

This commit is contained in:
Dounx
2026-02-06 19:44:05 +08:00
committed by lyingbug
parent 602086d884
commit 66756de19f
5 changed files with 14 additions and 2 deletions
+5
View File
@@ -41,6 +41,11 @@ spec:
securityContext:
{{- toYaml . | nindent 12 }}
{{- end }}
env:
- name: APP_HOST
value: {{ .Values.frontend.appHost | default (printf "%s-app" (include "weknora.fullname" .)) | quote }}
- name: APP_PORT
value: {{ .Values.frontend.appPort | default .Values.app.service.port | quote }}
ports:
- containerPort: 80
name: http