feat(coder): bootstrap new DB
All checks were successful
Renovate / renovate (push) Successful in 54s

This commit is contained in:
Peter 2024-08-15 11:25:21 +02:00
parent 8f5c83a681
commit 487603b1a5
Signed by: prskr
GPG key ID: F56BED6903BC5E37
3 changed files with 19 additions and 0 deletions

View file

@ -7,6 +7,8 @@ resources:
- "resources/namespace.yaml" - "resources/namespace.yaml"
- "resources/http_routes.yaml" - "resources/http_routes.yaml"
- "resources/secret.yaml" - "resources/secret.yaml"
- "resources/db/db.yaml"
- "resources/db/user.yaml"
helmCharts: helmCharts:
- name: coder - name: coder

View file

@ -0,0 +1,7 @@
apiVersion: db.movetokube.com/v1alpha1
kind: Postgres
metadata:
name: coder
spec:
database: coder
dropOnDelete: false

View 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