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(chart): read PostgreSQL credentials from a Secret for API startup and bootstrap #872
Production readiness audit of Gameplane v0.4.0, commit 07bee47b. Tracking issue and PR merge order: #867.
Finding
The chart currently renders api.db.dsn in process arguments and a literal environment value. A password-bearing DSN can appear in pod/deployment metadata and Helm release history.
Work
Add an existing Secret name/key configuration for PostgreSQL. Use secretKeyRef for GAMEPLANE_DB_DSN on every applicable execution path and omit the literal DSN flag in that mode. Specify precedence or reject ambiguous values. Document migration, rotation and the persistence of prior Helm revisions. A Secret reference must work with the shipped default SQLite DSN still present in chart defaults.
Acceptance criteria
Use a disposable canary DSN. Confirm the API and bootstrap can connect, SQLite still works, and rendered workload specs, arguments, logs and release inputs for the new Secret mode contain no canary value. Exercise missing Secret/key and Helm upgrade.
PR ownership and prior work
Own Secret-backed chart wiring. H07 reuses it in PostgreSQL failover and recovery fixtures. Serve and bootstrap already support GAMEPLANE_DB_DSN. A second config parser would duplicate them.
changed the title [-][High H05] Read PostgreSQL DSNs from a referenced Secret in API deployments and bootstrap[/-][+]fix(chart): read PostgreSQL credentials from a Secret for API startup and bootstrap[/+]on Nov 11, 2026
Activity
[-][High H05] Read PostgreSQL DSNs from a referenced Secret in API deployments and bootstrap[/-][+]fix(chart): read PostgreSQL credentials from a Secret for API startup and bootstrap[/+]