Commit Graph

14 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
b37425d3c7 fix: add SMTP env vars to email-worker deployment 2026-04-15 13:24:45 +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
53c63dad19 fix: simplify static deployment template, fix YAML parse error 2026-04-15 10:47:25 +08:00
ZhenYi
9112cb2dff fix: use scratch variable for port binding in static template 2026-04-15 10:42:53 +08:00
ZhenYi
9776c923c0 fix: use %v instead of %s+print for port in static template 2026-04-15 10:40:02 +08:00
ZhenYi
0ebbc6e29e fix: remove limits from resources to fix K8s schema validation
The cluster's API server rejects the limits field in Deployment containers.
Keep only requests (CPU/memory) for now.
2026-04-15 10:38:47 +08:00
ZhenYi
650243510c refactor: remove namespace and configmap from Helm chart
Namespace and ConfigMap are managed manually (not by Helm).
2026-04-15 10:30:02 +08:00
ZhenYi
93cfff9738 init 2026-04-15 09:08:09 +08:00