12 lines
326 B
YAML
12 lines
326 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"
|