Provision Authentik Database
Create a PostgreSQL database and user for Authentik on the existing CNPG cluster.
What Was Done
- Added
authentikmanaged role toblumeops-pgCNPG cluster (argocd/manifests/databases/blumeops-pg.yaml) — non-superuser withcreatedbandlogin - Created ExternalSecret
blumeops-pg-authentikpulling password from 1Password item “Authentik (blumeops)” fieldpostgresql-password - Synced CNPG cluster — role reconciled with password set
- Created
authentikdatabase owned byauthentikuser - Verified cross-cluster connectivity: ringtail pod →
pg.ops.eblu.me:5432(Caddy L4)
Resolved Questions
- Hostname:
pg.ops.eblu.mevia Caddy L4 plugin (not MagicDNS) - Permissions: Non-superuser with
createdb— Authentik manages its own schema via migrations
Related
- deploy-authentik — Parent goal
- postgresql — CNPG cluster reference