Get dsn from secret
This commit is contained in:
parent
8c51525410
commit
91bf0618f4
1 changed files with 2 additions and 9 deletions
|
@ -157,17 +157,10 @@ spec:
|
|||
- name: ADMIN_TOKEN
|
||||
value: "0h12893hj0129j30129j3"
|
||||
- name: DATABASE_URL
|
||||
value: "postgresql://$(PGUSER):$(PGPASS)@vwdb.home-server.svc.cluster.local:5432/vaultwarden"
|
||||
- name: PGUSER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: vaultwarden-user.vwdb.credentials.postgresql.acid.zalan.do
|
||||
key: username
|
||||
- name: PGPASS
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: vaultwarden-user.vwdb.credentials.postgresql.acid.zalan.do
|
||||
key: password
|
||||
name: vaultwarden-db-secret
|
||||
key: DATABASE_URL
|
||||
ports:
|
||||
- containerPort: 80
|
||||
volumeMounts:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue