Files
claude 373070bde7
Build and push CoqDecks / build (push) Failing after 13m27s
Add createDb: true to CNPG Role for manydecks user
ManyDecks tries to CREATE DATABASE on startup; CNPG must grant
this privilege persistently so reconciliation doesn't revoke it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-30 07:23:25 +00:00

36 lines
699 B
YAML

# Password for the manydecks PostgreSQL user — must match the password
# in deploy/manydecks/secrets.yaml (the config.json5 db.password field).
apiVersion: v1
kind: Secret
metadata:
name: manydecks-db-user
namespace: sql
stringData:
password: "CHANGE_ME_DB_PASSWORD"
---
apiVersion: postgresql.cnpg.io/v1
kind: Role
metadata:
name: manydecks
namespace: sql
spec:
cluster:
name: postgres-main
ensure: present
login: true
createDb: true
passwordSecret:
name: manydecks-db-user
---
apiVersion: postgresql.cnpg.io/v1
kind: Database
metadata:
name: manydecks
namespace: sql
spec:
cluster:
name: postgres-main
name: manydecks
owner: manydecks
ensure: present