Files
CoqDecks/deploy/manydecks/postgres.yaml
T
claudeandClaude Sonnet 4.6 2213168074
Build and push CoqDecks / build (push) Failing after 14m43s
Add ManyDecks Kubernetes deployment manifests
Deploys ManyDecks (deck creation UI) at decks.jeux.alocoq.fr:
- postgres.yaml: CNPG Role + Database on postgres-main (sql namespace)
- server.yaml: ManyDecks API server, config mounted from Secret
- client.yaml: nginx client with custom config pointing to manydecks-server
- ingress.yaml: TLS ingress for decks.jeux.alocoq.fr
- secrets.example.yaml: template to copy → secrets.yaml (gitignored)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-29 22:22:09 +00:00

35 lines
682 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
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