build: use Recreate strategy for qbittorrent

qbittorrent holds an exclusive lockfile on /config; rolling updates
deadlock because the new pod can't acquire the lock until the old one
is gone.
This commit is contained in:
gilgamezh
2026-05-07 10:03:16 +02:00
parent 269ab53002
commit e230129119
@@ -9,6 +9,8 @@ metadata:
heritage: {{ .Release.Service }} heritage: {{ .Release.Service }}
spec: spec:
replicas: {{ .Values.replicaCount }} replicas: {{ .Values.replicaCount }}
strategy:
type: Recreate
selector: selector:
matchLabels: matchLabels:
app: {{ template "qbittorrent.name" . }} app: {{ template "qbittorrent.name" . }}