Compare commits
2 commits
ab822b67d5
...
71fa939bdc
Author | SHA1 | Date | |
---|---|---|---|
71fa939bdc | |||
dd18f226f2 |
2 changed files with 24 additions and 1 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
|
|
@ -8,7 +8,8 @@ metadata:
|
||||||
external-dns.alpha.kubernetes.io/hostname: spoolman.martyn.berlin
|
external-dns.alpha.kubernetes.io/hostname: spoolman.martyn.berlin
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- port: 8000
|
- port: 80
|
||||||
|
targetPort: 8000
|
||||||
selector:
|
selector:
|
||||||
app: spoolman
|
app: spoolman
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
|
|
Loading…
Add table
Reference in a new issue