From ef806120f3c2312d1acde16da93ba025527bcc9c Mon Sep 17 00:00:00 2001 From: Alessandro Degano Date: Fri, 20 Jun 2025 11:52:57 +0200 Subject: [PATCH] feat: Allow to rotate all nodeplugins at once. When we roll-out an update to csi-rclone, currently, the nodeplugins are deleted and updated one by one: this makes the roll-out slow for no reason. The nodeplugins can instead be all deleted and recreated at the same time for a faster roll-out. --- deploy/csi-rclone/templates/csi-nodeplugin-rclone.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deploy/csi-rclone/templates/csi-nodeplugin-rclone.yaml b/deploy/csi-rclone/templates/csi-nodeplugin-rclone.yaml index 81eb791d..778f079b 100644 --- a/deploy/csi-rclone/templates/csi-nodeplugin-rclone.yaml +++ b/deploy/csi-rclone/templates/csi-nodeplugin-rclone.yaml @@ -108,6 +108,11 @@ spec: name: pods-mount-dir - mountPath: /var/lib/rclone name: cache-dir + updateStrategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 100% + maxSurge: 100% {{- with .Values.csiNodepluginRclone.nodeSelector }} nodeSelector: {{ toYaml . | nindent 8 }}