Commit Graph

8 Commits

Author SHA1 Message Date
ZhenYi
b9a9acbc75 fix(deploy): correct ConfigMap name from -secrets to -config
All deployments referenced the wrong ConfigMap name.
ConfigMap is named gitdata-config in the cluster.
2026-04-15 14:11:40 +08:00
ZhenYi
d4c9759a7e revert: use configMapRef instead of secretRef
ConfigMap is managed externally and contains all required env vars.
Keeping envFrom + configMapRef injection pattern.
2026-04-15 14:09:48 +08:00
ZhenYi
b7b56938aa fix(deploy): use secretRef instead of configMapRef in all deployments
ConfigMap was removed from Helm chart (managed externally).
Secret contains all required env vars (APP_DATABASE_URL, APP_REDIS_URL,
SMTP credentials, SSH domain/key, etc.) and is always rendered
(helm.sh/resource-policy: keep prevents deletion on upgrade).
Also add APP_SSH_PORT and APP_SSH_SERVER_PRIVATE_KEY to secret template.
2026-04-15 14:06:40 +08:00
ZhenYi
ad2cb7255f refactor(deploy): use envFrom with configMapRef for all deployments
Replace individual configMapKeyRef env vars with envFrom + configMapRef
to inject the full ConfigMap, plus minimal env blocks for static values.
Also remove resources block from operator deployment (K8s schema validation).
2026-04-15 13:48:13 +08:00
ZhenYi
3bc381da45 feat: add SMTP env vars to app deployment 2026-04-15 11:51:29 +08:00
ZhenYi
2f31e7268b feat: add imagePullSecrets support to all deployment templates 2026-04-15 10:59:15 +08:00
ZhenYi
33c5501fc9 fix: remove resources from deployment templates to fix K8s schema validation 2026-04-15 10:56:22 +08:00
ZhenYi
93cfff9738 init 2026-04-15 09:08:09 +08:00