Skip to content

feat: update DB config defaults from RDS to CloudNativePG - #514

Merged
TineoC merged 2 commits into
developfrom
feature/migrate-rds-to-cnpg-db-config
Jul 28, 2026
Merged

feat: update DB config defaults from RDS to CloudNativePG#514
TineoC merged 2 commits into
developfrom
feature/migrate-rds-to-cnpg-db-config

Conversation

@TineoC

@TineoC TineoC commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

Description

Updates the deployment manifests and environment docs to reflect that CloudNativePG on the Philly Civic Cloud shared cluster is now the primary database target, replacing the legacy AWS RDS instance.

Changes

  • deploy/manifests/balancer/base/secret.template.yaml — Updated SQL_HOST to shared-cluster-rw.cloudnative-pg.svc.cluster.local, SQL_DATABASE to balancer, and added inline docs for both CNPG (primary) and RDS (legacy) host patterns
  • config/env/dev.env.example — Updated connection type examples to document CNPG as primary, RDS as legacy/migration

Related

- Update secret.template.yaml to show CNPG as the primary target
  with shared-cluster-rw.cloudnative-pg.svc.cluster.local
- Switch SQL_DATABASE default from balancer_dev to balancer
- Update dev.env.example to document CNPG as primary, RDS as legacy

Refs: #464
Related: CodeForPhilly/cfp-sandbox-cluster#162
@TineoC
TineoC changed the base branch from listOfMed to develop June 27, 2026 22:54
- Move os/settings/HttpResponseNotFound imports to top in urls.py (E402)
- Add noqa: E402 to django.setup()-dependent imports in eval_assistant.py
- Remove unused INSTRUCTIONS import in eval_assistant.py (F401)

Refs: #464
@TineoC
TineoC merged commit 179f724 into develop Jul 28, 2026
1 check passed
@TineoC
TineoC deleted the feature/migrate-rds-to-cnpg-db-config branch July 28, 2026 22:29
@sahilds1

Copy link
Copy Markdown
Collaborator

@TineoC Thanks for working on this! The changes in the backend (server/) to resolve the linting errors looks good to me -- I'll leave it to you to merge it -- Let me know if you aren't able to merge in PRs yourself -- I've updated your access in the balancer-main repo to "write"

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.

Migrate Postgres RDS from AWS to Philly Cluster

2 participants