diff --git a/environments/health-app/base/deployment.yaml b/environments/health-app/base/deployment.yaml index 55469e3..68badba 100644 --- a/environments/health-app/base/deployment.yaml +++ b/environments/health-app/base/deployment.yaml @@ -41,13 +41,20 @@ spec: value: "3000" - name: NODE_ENV value: "production" + - name: JWT_SECRET + value: "infinicaretech-health-app-secret-2026" + - name: DB_PATH + value: "/tmp/health-app/health-app.db" resources: requests: - cpu: 50m - memory: 64Mi - limits: - cpu: 200m + cpu: 100m memory: 128Mi + limits: + cpu: 500m + memory: 256Mi + volumeMounts: + - name: tmp-data + mountPath: /tmp/health-app livenessProbe: httpGet: path: /health @@ -70,3 +77,6 @@ spec: capabilities: drop: - ALL + volumes: + - name: tmp-data + emptyDir: {} diff --git a/environments/health-app/overlays/production/kustomization.yaml b/environments/health-app/overlays/production/kustomization.yaml index daef6ed..9d1daa3 100644 --- a/environments/health-app/overlays/production/kustomization.yaml +++ b/environments/health-app/overlays/production/kustomization.yaml @@ -6,7 +6,7 @@ resources: images: - name: 10.0.0.3:31427/gitea_admin/health-app - newTag: latest + newTag: v2 patches: - target: