Env vars to use the db
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
parent
71fa939bdc
commit
63810d655d
1 changed files with 15 additions and 0 deletions
|
@ -21,6 +21,21 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/donkie/spoolman:0.22
|
- image: ghcr.io/donkie/spoolman:0.22
|
||||||
|
env:
|
||||||
|
- name: SPOOLMAN_DB_TYPE
|
||||||
|
value: postgres
|
||||||
|
- name: SPOOLMAN_DB_HOST
|
||||||
|
value: postgres-spoolman
|
||||||
|
- name: SPOOLMAN_DB_USERNAME
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: spoolman.postgres-spoolman.credentials.postgresql.acid.zalan.do
|
||||||
|
key: username
|
||||||
|
- name: SPOOLMAN_DB_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: spoolman.postgres-spoolman.credentials.postgresql.acid.zalan.do
|
||||||
|
key: password
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: spoolman
|
name: spoolman
|
||||||
resources: {}
|
resources: {}
|
||||||
|
|
Loading…
Add table
Reference in a new issue