Critical: Migrate pal-e-mail Postgres to CNPG shared cluster #190

Closed
opened 2026-03-27 00:48:32 +00:00 by forgejo_admin · 0 comments

Type

Bug

Lineage

standalone — discovered scope from #187 review. Same vulnerability as basketball-api.

Repo

forgejo_admin/pal-e-platform

What Broke

pal-e-mail Postgres is a standalone Deployment pod with local-path PVC, zero backups, zero replication — identical to the basketball-api vulnerability documented in #187. Same fix: migrate to CNPG shared cluster.

Repro Steps

  1. kubectl get pvc -n pal-e-mail — standalone postgres-data PVC
  2. kubectl get backups -n pal-e-mail — no resources found

Expected Behavior

pal-e-mail database on CNPG with daily Barman backups, WAL archiving, restore verification.

Environment

  • Namespace: pal-e-mail
  • DB: PostgreSQL 16 (Alpine), standalone Deployment

Acceptance Criteria

  • pal-e-mail database exists on CNPG shared cluster
  • Daily Barman backup covers pal-e-mail data
  • Old standalone postgres removed after verification
  • #187 — basketball-api migration (do first, pattern established)
  • project-pal-e-mail
### Type Bug ### Lineage standalone — discovered scope from #187 review. Same vulnerability as basketball-api. ### Repo `forgejo_admin/pal-e-platform` ### What Broke pal-e-mail Postgres is a standalone Deployment pod with local-path PVC, zero backups, zero replication — identical to the basketball-api vulnerability documented in #187. Same fix: migrate to CNPG shared cluster. ### Repro Steps 1. `kubectl get pvc -n pal-e-mail` — standalone postgres-data PVC 2. `kubectl get backups -n pal-e-mail` — no resources found ### Expected Behavior pal-e-mail database on CNPG with daily Barman backups, WAL archiving, restore verification. ### Environment - Namespace: pal-e-mail - DB: PostgreSQL 16 (Alpine), standalone Deployment ### Acceptance Criteria - [ ] pal-e-mail database exists on CNPG shared cluster - [ ] Daily Barman backup covers pal-e-mail data - [ ] Old standalone postgres removed after verification ### Related - `#187` — basketball-api migration (do first, pattern established) - `project-pal-e-mail`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo_admin/pal-e-platform#190
No description provided.