fix(ddb): add PostSync Job for database schema permissions
CNPG Database CR creates DBs but doesn't grant schema permissions properly. Database owner is 'app' instead of specified role (authentik, temporal). PostSync Job grants ALL on schema public to both app and named roles, ensuring applications can create tables. Runs after Database CRs reconcile. Fixes: authentik InsufficientPrivilege error on migration.
This commit is contained in:
@@ -8,6 +8,7 @@ namespace: ddb
|
||||
# GitOps-managed database schemas (ArgoCD wave 6).
|
||||
# These depend on ddb-cluster existing (bootstrap wave 0).
|
||||
resources:
|
||||
- db-permissions-job.yaml
|
||||
- authentik-database.yaml
|
||||
- temporal-database.yaml
|
||||
- temporal-visibility-database.yaml
|
||||
|
||||
Reference in New Issue
Block a user