helm: update rbd provisioner updateStrategy

Update ceph-csi-rbd.provisioner updatestrategy
to allow maxUnavailable pods at a time to be 50%

Signed-off-by: Yug Gupta <yuggupta27@gmail.com>
(cherry picked from commit ea088d40be)
This commit is contained in:
Yug Gupta
2021-08-03 16:41:51 +05:30
committed by mergify[bot]
parent bc24a8c8ac
commit 45e80f8952
2 changed files with 14 additions and 0 deletions

View File

@ -11,6 +11,12 @@ metadata:
heritage: {{ .Release.Service }}
spec:
replicas: {{ .Values.provisioner.replicaCount }}
strategy:
type: {{ .Values.provisioner.strategy.type }}
{{- if eq .Values.provisioner.strategy.type "RollingUpdate" }}
rollingUpdate:
maxUnavailable: {{ .Values.provisioner.strategy.rollingUpdate.maxUnavailable }}
{{- end }}
selector:
matchLabels:
app: {{ include "ceph-csi-rbd.name" . }}