From df34f31f9f797a0f92af4f7d86998dc5817309cb Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sun, 19 Mar 2023 21:45:11 +0100 Subject: [PATCH] feat(deployment): Add admin token loading through secret --- manifests/deployment.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/manifests/deployment.yaml b/manifests/deployment.yaml index 260599a..50b167e 100644 --- a/manifests/deployment.yaml +++ b/manifests/deployment.yaml @@ -30,6 +30,11 @@ spec: value: "true" - name: DATABASE_URL value: "postgresql://vaultwarden:$(DB_PASSWORD)@vaultwarden.vaultwarden.svc.cluster.local:5432/vaultwarden" + - name: ADMIN_TOKEN + valueFrom: + secretKeyRef: + name: vaultwarden-admin-token + key: token volumes: - name: vaultwarden-pv hostPath: