apps/hedgedoc/resources/db/user.yaml
Peter Kurfer 1e612bc89d
All checks were successful
Renovate / renovate (push) Successful in 38s
feat(hedgedoc): provision new DB
2024-08-15 15:06:47 +02:00

12 lines
No EOL
320 B
YAML

---
apiVersion: db.movetokube.com/v1alpha1
kind: PostgresUser
metadata:
name: hedgedoc
spec:
role: hedgedoc
database: hedgedoc
secretName: db-credentials
privileges: OWNER
secretTemplate:
PQ_URL: "postgresql://{{.Role}}:{{.Password}}@app-cluster-pooler-rw.postgres.svc:5432/{{.Database}}?sslmode=require"