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: selector:
matchLabels: matchLabels:
app: vaultwarden 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: strategy:
rollingUpdate: type: Recreate
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template: template:
metadata: metadata:
labels: labels:
@@ -33,7 +33,7 @@ spec:
value: 'true' value: 'true'
envFrom: envFrom:
- secretRef: - secretRef:
name: vaultwarden-secret name: vaultwarden-secret-infisical
image: vaultwarden/server:1.35.4 image: vaultwarden/server:1.35.4
imagePullPolicy: Always imagePullPolicy: Always
name: vaultwarden name: vaultwarden