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

feat(frontend): load config from runtime env

This commit is contained in:
2025-07-04 13:10:52 +02:00
parent 7093577cb7
commit f880968ab0
6 changed files with 46 additions and 20 deletions
+4 -2
View File
@@ -18,8 +18,10 @@ Key parameters in `values.yaml`:
- `ingress` configure ingress for the frontend service. The backend is exposed
through a second ingress using the hostname `backend.<hostname>` with the same
settings.
- `frontend.backendUrl` value for `VITE_BACKEND_URL` used by the frontend.
When empty it defaults to the internal backend service URL.
- `frontend.backendUrl` value for `VITE_BACKEND_URL` used by the frontend.
The frontend reads this variable at runtime so changing the deployment does
not require rebuilding the image. When empty it defaults to the internal
backend service URL.
- `hpa` enable CPU-based autoscaling for both deployments.
When `firebase.enabled` is true you must create the secret before installing the chart: