Let's have a real database
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
parent
dd18f226f2
commit
71fa939bdc
1 changed files with 22 additions and 0 deletions
22
apps-kustomized/spoolman/postgres.yaml
Normal file
22
apps-kustomized/spoolman/postgres.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
apiVersion: "acid.zalan.do/v1"
|
||||
kind: postgresql
|
||||
metadata:
|
||||
name: postgres-spoolman
|
||||
spec:
|
||||
teamId: spoolman
|
||||
volume:
|
||||
size: 8Gi
|
||||
storageClass: longhorn-fast
|
||||
numberOfInstances: 1
|
||||
users:
|
||||
spoolman:
|
||||
- superuser
|
||||
- createdb
|
||||
databases:
|
||||
spoolman: spoolman # dbname: owner
|
||||
postgresql:
|
||||
version: "15"
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 1Mi
|
Loading…
Add table
Reference in a new issue