2024-08-15 11:25:21 +02:00
|
|
|
---
|
|
|
|
apiVersion: db.movetokube.com/v1alpha1
|
|
|
|
kind: PostgresUser
|
|
|
|
metadata:
|
|
|
|
name: coder
|
|
|
|
spec:
|
|
|
|
role: coder
|
|
|
|
database: coder
|
|
|
|
secretName: coder-db-credentials
|
2024-08-15 11:48:12 +02:00
|
|
|
privileges: OWNER
|
2024-08-15 14:23:48 +02:00
|
|
|
secretTemplate:
|
2024-08-15 12:45:45 +02:00
|
|
|
PQ_URL: "postgresql://{{.Role}}:{{.Password}}@{{.Host}}:5432/{{.Database}}?sslmode=require&search_path=coder"
|