fix(ddb): grant universal schema permissions to all roles

Adds SQL to postInitApplicationSQL granting schema permissions to PUBLIC.
Allows any role (authentik, temporal, etc) to create tables in databases.

For existing cluster: run SQL manually (done).
For future bootstrap: automatic via initdb.

Pattern for apps: Database CR + app-specific init Job optional (co-located).
This commit is contained in:
Story Crater Bot
2026-07-23 08:07:34 -07:00
parent ec046cccde
commit 1c98628417
3 changed files with 5 additions and 100 deletions
-1
View File
@@ -8,7 +8,6 @@ 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