Skip to content

Add ff infrastructure: shared namespaces, CNPG operator, Postgres clusters#23

Merged
rgardner4012 merged 3 commits intomainfrom
feat/ff-infrastructure
Feb 24, 2026
Merged

Add ff infrastructure: shared namespaces, CNPG operator, Postgres clusters#23
rgardner4012 merged 3 commits intomainfrom
feat/ff-infrastructure

Conversation

@rgardner4012
Copy link
Owner

Summary

  • Introduces infra/shared-namespaces/ — single owner of namespaces shared across multiple Flux Kustomizations. ff-dev and ff-production are the first consumers (see ADR 008)
  • Adds infra/databases/cloudnativepg/ — CNPG operator via Helm into cnpg-system
  • Adds infra/databases/postgres/ — separate ff-postgres CNPG Cluster per environment:
    • dev: 1 instance, PostgreSQL 16, 5Gi (disposable)
    • production: 3 instances (1 primary + 2 standbys), PostgreSQL 16, 10Gi

Dependency order

infra-shared-namespaces
        ↓
infra-cloudnativepg  (wait: true)
        ↓
infra-ff-postgres

Docs updated

  • docs/adr.md — ADR 008: shared-namespaces pattern
  • docs/disaster-recovery.md — CNPG backup checklist items, RTO/RPO table entries, ff-postgres recovery runbook

Notes

  • CNPG auto-creates ff-postgres-app Secret in each namespace with a uri key — consumed by the ff app as DATABASE_URL
  • CNPG backup target not yet configured — tracked in disaster recovery checklist

Rick Gardner and others added 3 commits February 24, 2026 00:12
…sters

- infra/shared-namespaces: ff-dev and ff-production namespaces owned
  independently of any app or db Kustomization (ADR 008)
- infra/databases/cloudnativepg: CNPG operator via Helm (cnpg-system)
- infra/databases/postgres: ff-postgres Cluster in each namespace
  (dev: 5Gi, production: 10Gi), depends on shared-namespaces + cnpg
- docs/adr.md: ADR 008 documents the shared-namespaces pattern
- ff-production: bump instances to 3 (1 primary, 2 standbys)
- disaster-recovery.md: add CNPG backup checklist items, RTO/RPO
  entries for ff-postgres, and recovery runbook section
@rgardner4012 rgardner4012 merged commit a867d8a into main Feb 24, 2026
6 checks passed
@rgardner4012 rgardner4012 deleted the feat/ff-infrastructure branch February 24, 2026 23:01
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