vaultwarden: repoint envFrom to vaultwarden-secret-infisical + Recreate strategy

Cut the Deployment over to the Infisical-synced Secret and switch to Recreate
(SQLite/WAL on a RWO PVC must not have two writers during a roll). Applied via
kubectl (not ArgoCD-managed).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-22 10:57:13 +00:00
co-authored by Claude Opus 4.8
parent f87f03d542
commit 74c00cc7b7
+5 -5
View File
@@ -15,11 +15,11 @@ spec:
selector:
matchLabels:
app: vaultwarden
# Single-replica vaultwarden on a RWO local-path PVC (SQLite + WAL): Recreate
# avoids two pods briefly racing the same db.sqlite3 during a roll
# (RollingUpdate surges a 2nd pod first).
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
type: Recreate
template:
metadata:
labels:
@@ -33,7 +33,7 @@ spec:
value: 'true'
envFrom:
- secretRef:
name: vaultwarden-secret
name: vaultwarden-secret-infisical
image: vaultwarden/server:1.35.4
imagePullPolicy: Always
name: vaultwarden