Skip to content

feat: add balancer database cluster manifest#501

Open
TineoC wants to merge 7 commits intoCodeForPhilly:developfrom
TineoC:feature/464-cnpg-database
Open

feat: add balancer database cluster manifest#501
TineoC wants to merge 7 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).

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