apps/linkwarden/resources/db/user.yaml
Peter Kurfer 9160ab95df
Some checks failed
Renovate / renovate (push) Failing after 11m28s
fix(linkwarden): use pgbouncer where possible
2024-08-20 21:38:04 +02:00

13 lines
No EOL
445 B
YAML

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