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:
@@ -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" . }}
|
||||||
|
|||||||
Reference in New Issue
Block a user