Skip to content

feat: shared PostgreSQL for the dev environment - #20

Merged
vthwang merged 1 commit into
mainfrom
feat/shared-dev-postgres
Jul 31, 2026
Merged

feat: shared PostgreSQL for the dev environment#20
vthwang merged 1 commit into
mainfrom
feat/shared-dev-postgres

Conversation

@vthwang

@vthwang vthwang commented Jul 31, 2026

Copy link
Copy Markdown
Member

No description provided.

One PostgreSQL in the dev cluster, reached by every developer through
kubectl port-forward, replacing the per-developer docker-compose database.
The dev cluster was already shared; the database was not, so session rows
lived on one laptop while the namespaces they describe lived where everyone
could see them.

- k8s/dev-postgres/: Secret, PVC, Deployment, Service in default
- make deploy-db / forward-db / forward-vault; docker-compose targets removed
- ORCHESTRATOR_RESUME gates both startup resumes (default true, so production
  keeps crash recovery) — otherwise every developer's API resumes the same rows
- Pin postgres:18.4-alpine in both dev and the chart, enforced by
  make check-pg-image in make test
- docs/shared-dev-database.md

Signed-off-by: vthwang <vthwang.work@gmail.com>
@vthwang vthwang self-assigned this Jul 31, 2026
@vthwang vthwang added the enhancement New feature or request label Jul 31, 2026
@vthwang
vthwang merged commit a2c60b1 into main Jul 31, 2026
1 check passed
@vthwang
vthwang deleted the feat/shared-dev-postgres branch July 31, 2026 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant