apps/vaultwarden/resources/db/user.yaml

12 lines
No EOL
341 B
YAML

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