fix CI deploy: align k8s resource var names with CI outputs
Some checks failed
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Successful in 5s
CI/CD / test-go-pg (push) Successful in 2m2s
CI/CD / test-sqlite (push) Successful in 2m37s
CI/CD / build-and-deploy (push) Failing after 12s

The k8s/backend.yaml template used BE_-prefixed env vars
(BE_MEMORY_REQUEST, etc.) but the CI workflow outputs them
without the prefix, causing envsubst to produce empty strings
and K8s to reject the deployment.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-26 12:11:42 +00:00
parent e865b353e4
commit 8d17fb76be

View File

@@ -169,11 +169,11 @@ spec:
mountPath: /data/storage
resources:
requests:
memory: "${BE_MEMORY_REQUEST}"
cpu: "${BE_CPU_REQUEST}"
memory: "${MEMORY_REQUEST}"
cpu: "${CPU_REQUEST}"
limits:
memory: "${BE_MEMORY_LIMIT}"
cpu: "${BE_CPU_LIMIT}"
memory: "${MEMORY_LIMIT}"
cpu: "${CPU_LIMIT}"
readinessProbe:
httpGet:
path: ${BASE_PATH}/health