apps/coder/resources/db/user.yaml

12 lines
310 B
YAML
Raw Normal View History

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