feat(forgejo): prepare new database
All checks were successful
Renovate / renovate (push) Successful in 30s
All checks were successful
Renovate / renovate (push) Successful in 30s
This commit is contained in:
parent
43b37e9b50
commit
b394051f70
3 changed files with 17 additions and 0 deletions
Binary file not shown.
7
forgejo/resources/db/db.yaml
Normal file
7
forgejo/resources/db/db.yaml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
apiVersion: db.movetokube.com/v1alpha1
|
||||||
|
kind: Postgres
|
||||||
|
metadata:
|
||||||
|
name: forgejo
|
||||||
|
spec:
|
||||||
|
database: forgejo
|
||||||
|
dropOnDelete: false
|
10
forgejo/resources/db/user.yaml
Normal file
10
forgejo/resources/db/user.yaml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
apiVersion: db.movetokube.com/v1alpha1
|
||||||
|
kind: PostgresUser
|
||||||
|
metadata:
|
||||||
|
name: forgejo
|
||||||
|
spec:
|
||||||
|
role: forgejo
|
||||||
|
database: forgejo
|
||||||
|
secretName: forgejo-db-credentials
|
||||||
|
privileges: OWNER
|
Loading…
Reference in a new issue