feat(deployment): Add admin token loading through secret

This commit is contained in:
Tanguy Herbron 2023-03-19 21:45:11 +01:00
parent 20e10c255e
commit df34f31f9f

View File

@ -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: