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

Add Helm chart for Kubernetes deployment

This commit is contained in:
2025-07-02 16:20:34 +02:00
parent 78fb118c28
commit a1f81ee732
13 changed files with 339 additions and 0 deletions
+58
View File
@@ -0,0 +1,58 @@
replicaCount:
frontend: 1
backend: 1
image:
frontend:
repository: xslt-playground-frontend
tag: "latest"
pullPolicy: IfNotPresent
backend:
repository: xslt-playground-backend
tag: "latest"
pullPolicy: IfNotPresent
service:
frontend:
type: ClusterIP
port: 80
backend:
type: ClusterIP
port: 8000
ingress:
enabled: true
className: ""
annotations: {}
hosts:
- host: xslt.local
paths:
- path: /
pathType: Prefix
tls: []
resources:
frontend: {}
backend: {}
hpa:
frontend:
enabled: true
minReplicas: 1
maxReplicas: 5
targetCPUUtilizationPercentage: 80
backend:
enabled: true
minReplicas: 1
maxReplicas: 5
targetCPUUtilizationPercentage: 80
firebaseSecretName: firebase-config
firebase:
credentialsKey: service-account.json
configKey: firebase-config.json
credentialsMountPath: /var/secrets/firebase
# Example database URL
databaseUrl: postgres://postgres:postgres@db/xslt?sslmode=disable