You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(iac/azure): AKS DB_PASSWORD_SECRET reads a Secret key that doesn't exist #1115
In terraform/modules/compute/azure/aks/main.tf, the API Deployment sets DB_PASSWORD_SECRET from Secret key password, but the Kubernetes Secret it reads stores the value under password_secret_name. The Secret has no password key, so the reference can't resolve and API pods would fail to start. #1114's scheduled-task CronJobs share the same env list, so their pods would fail the same way.
Nothing creates these Kubernetes resources in terraform/environments/azure today (blocked on #372), so this hasn't surfaced. It will as soon as AKS Kubernetes resources are turned on.
Fix: point the env var at the key the Secret actually defines, or rename the Secret key, and add a Terraform test asserting that the referenced key exists in the Secret.
Activity
test(iac): assert the AKS DB password secret key exists in the Secret
fix: six small scheduled-auth, CI, OpenAPI and IaC fixes (LeanerCloud…
Merge origin/main into fix/issue-893
fix(iac/azure): add opt-in ri_exchange_reshape and ladder_run CronJob…
fix(iac/azure): schedule the server tasks on AKS with CronJobs (#1114)