feat(coder): bootstrap new DB
All checks were successful
Renovate / renovate (push) Successful in 54s
All checks were successful
Renovate / renovate (push) Successful in 54s
This commit is contained in:
parent
8f5c83a681
commit
487603b1a5
3 changed files with 19 additions and 0 deletions
|
@ -7,6 +7,8 @@ resources:
|
|||
- "resources/namespace.yaml"
|
||||
- "resources/http_routes.yaml"
|
||||
- "resources/secret.yaml"
|
||||
- "resources/db/db.yaml"
|
||||
- "resources/db/user.yaml"
|
||||
|
||||
helmCharts:
|
||||
- name: coder
|
||||
|
|
7
coder/resources/db/db.yaml
Normal file
7
coder/resources/db/db.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
apiVersion: db.movetokube.com/v1alpha1
|
||||
kind: Postgres
|
||||
metadata:
|
||||
name: coder
|
||||
spec:
|
||||
database: coder
|
||||
dropOnDelete: false
|
10
coder/resources/db/user.yaml
Normal file
10
coder/resources/db/user.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
apiVersion: db.movetokube.com/v1alpha1
|
||||
kind: PostgresUser
|
||||
metadata:
|
||||
name: coder
|
||||
spec:
|
||||
role: coder
|
||||
database: coder
|
||||
secretName: coder-db-credentials
|
||||
privileges: OWNER
|
Loading…
Reference in a new issue