Skip to content

feat: add balancer database cluster manifest#501

Closed
TineoC wants to merge 8 commits intoCodeForPhilly:developfrom
TineoC:feature/464-cnpg-database
Closed

feat: add balancer database cluster manifest#501
TineoC wants to merge 8 commits intoCodeForPhilly:developfrom
TineoC:feature/464-cnpg-database

Conversation

@TineoC
Copy link
Copy Markdown
Collaborator

@TineoC TineoC commented Apr 18, 2026

This PR updates the balancer deployment to use the shared, multi-tenant codeforphilly-cluster PostgreSQL instance.

Changes:

  • New Sandbox Overlay: Created deploy/manifests/balancer/overlays/sandbox.
  • ConfigMap for Database Settings: Added configmap.yaml in the sandbox overlay to store SQL_HOST, SQL_PORT, etc.
  • Shared DB Connection: The deployment is patched to use envFrom pointing to the new balancer-db-config ConfigMap.
  • Credentials: The application uses the balancer-db-credentials secret (which must be created in the cloudnative-pg namespace) to source the SQL_PASSWORD.

DEPENDS ON: CodeForPhilly/cfp-sandbox-cluster#135 (which defines the shared cluster and the balancer database).

@TineoC
Copy link
Copy Markdown
Collaborator Author

TineoC commented May 7, 2026

Superseded by #507 which integrates Gateway API, CORS, and CNPG changes into a single branch.

@TineoC TineoC closed this May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant