apps/zipline/resources/db/user.yaml

12 lines
317 B
YAML
Raw Normal View History

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