373070bde7
Build and push CoqDecks / build (push) Failing after 13m27s
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>
36 lines
699 B
YAML
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
|