feat(vikunja): provision new DB
All checks were successful
Renovate / renovate (push) Successful in 40s
All checks were successful
Renovate / renovate (push) Successful in 40s
This commit is contained in:
parent
39678d3acf
commit
50d735c368
3 changed files with 20 additions and 0 deletions
|
@ -19,6 +19,8 @@ labels:
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- resources/namespace.yaml
|
- resources/namespace.yaml
|
||||||
|
- resources/db/db.yaml
|
||||||
|
- resources/db/user.yaml
|
||||||
- resources/api/dragonfly.yaml
|
- resources/api/dragonfly.yaml
|
||||||
- resources/api/pvc.yaml
|
- resources/api/pvc.yaml
|
||||||
- resources/api/deployment.yaml
|
- resources/api/deployment.yaml
|
||||||
|
|
8
vikunja/resources/db/db.yaml
Normal file
8
vikunja/resources/db/db.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
apiVersion: db.movetokube.com/v1alpha1
|
||||||
|
kind: Postgres
|
||||||
|
metadata:
|
||||||
|
name: vikunja
|
||||||
|
spec:
|
||||||
|
database: vikunja
|
||||||
|
dropOnDelete: false
|
10
vikunja/resources/db/user.yaml
Normal file
10
vikunja/resources/db/user.yaml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
apiVersion: db.movetokube.com/v1alpha1
|
||||||
|
kind: PostgresUser
|
||||||
|
metadata:
|
||||||
|
name: vikunja
|
||||||
|
spec:
|
||||||
|
role: vikunja
|
||||||
|
database: vikunja
|
||||||
|
secretName: db-credentials
|
||||||
|
privileges: OWNER
|
Loading…
Reference in a new issue