feat(deployment): Add admin token loading through secret
This commit is contained in:
parent
20e10c255e
commit
df34f31f9f
@ -30,6 +30,11 @@ spec:
|
|||||||
value: "true"
|
value: "true"
|
||||||
- name: DATABASE_URL
|
- name: DATABASE_URL
|
||||||
value: "postgresql://vaultwarden:$(DB_PASSWORD)@vaultwarden.vaultwarden.svc.cluster.local:5432/vaultwarden"
|
value: "postgresql://vaultwarden:$(DB_PASSWORD)@vaultwarden.vaultwarden.svc.cluster.local:5432/vaultwarden"
|
||||||
|
- name: ADMIN_TOKEN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: vaultwarden-admin-token
|
||||||
|
key: token
|
||||||
volumes:
|
volumes:
|
||||||
- name: vaultwarden-pv
|
- name: vaultwarden-pv
|
||||||
hostPath:
|
hostPath:
|
||||||
|
Loading…
Reference in New Issue
Block a user