feat(ente): provision new DB
All checks were successful
Renovate / renovate (push) Successful in 39s
All checks were successful
Renovate / renovate (push) Successful in 39s
This commit is contained in:
parent
aaa2c3a497
commit
b107c6c805
3 changed files with 19 additions and 1 deletions
|
@ -9,4 +9,4 @@ spec:
|
||||||
secretName: coder-db-credentials
|
secretName: coder-db-credentials
|
||||||
privileges: OWNER
|
privileges: OWNER
|
||||||
secretTemplate: # Output secrets can be customized using standard Go templates
|
secretTemplate: # Output secrets can be customized using standard Go templates
|
||||||
PQ_URL: "postgresql://{{.Role}}:{{.Password}}@app-cluster-pooler-rw.postgres.svc:5432/{{.Database}}?sslmode=require&search_path=coder"
|
PQ_URL: "postgresql://{{.Role}}:{{.Password}}@{{.Host}}:5432/{{.Database}}?sslmode=require&search_path=coder"
|
8
ente/resources/museum/db/db.yaml
Normal file
8
ente/resources/museum/db/db.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
apiVersion: db.movetokube.com/v1alpha1
|
||||||
|
kind: Postgres
|
||||||
|
metadata:
|
||||||
|
name: ente
|
||||||
|
spec:
|
||||||
|
database: ente
|
||||||
|
dropOnDelete: false
|
10
ente/resources/museum/db/user.yaml
Normal file
10
ente/resources/museum/db/user.yaml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
apiVersion: db.movetokube.com/v1alpha1
|
||||||
|
kind: PostgresUser
|
||||||
|
metadata:
|
||||||
|
name: ente
|
||||||
|
spec:
|
||||||
|
role: ente
|
||||||
|
database: ente
|
||||||
|
secretName: ente-db-credentials
|
||||||
|
privileges: OWNER
|
Loading…
Reference in a new issue