mirror of
https://github.com/alexandrev/xslt-lab.git
synced 2026-09-20 04:23:16 +00:00
xslt-playground Helm Chart
This chart deploys the frontend and backend of xslt-playground.
Configuration
Key parameters in values.yaml:
image.frontendandimage.backend– container images.firebaseSecretName– name of the secret containing Firebase credentials.firebase.credentialsKeyis mounted for the backend and referenced byGOOGLE_APPLICATION_CREDENTIALS.firebase.configKeyis used for theVITE_FIREBASE_CONFIGenvironment variable of the frontend.
databaseUrl– connection string used by the backend.ingress– configure ingress for the frontend service.hpa– enable CPU-based autoscaling for both deployments.
Create the secret before installing the chart:
kubectl create secret generic firebase-config \
--from-file=service-account.json=</path/to/serviceAccount.json> \
--from-file=firebase-config.json=</path/to/firebaseConfig.json>
Install the chart with:
helm install xslt charts/xslt-playground