parametrization deployment strategy for csi controller

This commit is contained in:
Mario Uhrin 2022-09-06 13:03:54 +02:00
parent 034e515e21
commit 9a3af58bd1
3 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,8 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: {{ .Values.controller.name }} app: {{ .Values.controller.name }}
strategy:
type: {{ .Values.controller.strategyType }}
template: template:
metadata: metadata:
{{ include "nfs.labels" . | indent 6 }} {{ include "nfs.labels" . | indent 6 }}

View File

@ -38,6 +38,7 @@ kubeletDir: /var/lib/kubelet
controller: controller:
name: csi-nfs-controller name: csi-nfs-controller
replicas: 1 replicas: 1
strategyType: RollingUpdate
runOnMaster: false runOnMaster: false
runOnControlPlane: false runOnControlPlane: false
livenessProbe: livenessProbe: