Skip to content

Commit 9a3af58

Browse files
committed
parametrization deployment strategy for csi controller
1 parent 034e515 commit 9a3af58

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed
21 Bytes
Binary file not shown.

charts/latest/csi-driver-nfs/templates/csi-nfs-controller.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ spec:
1010
selector:
1111
matchLabels:
1212
app: {{ .Values.controller.name }}
13+
strategy:
14+
type: {{ .Values.controller.strategyType }}
1315
template:
1416
metadata:
1517
{{ include "nfs.labels" . | indent 6 }}

charts/latest/csi-driver-nfs/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ kubeletDir: /var/lib/kubelet
3838
controller:
3939
name: csi-nfs-controller
4040
replicas: 1
41+
strategyType: RollingUpdate
4142
runOnMaster: false
4243
runOnControlPlane: false
4344
livenessProbe:

0 commit comments

Comments
 (0)