diff --git a/helm/templates/daemonset.yaml b/helm/templates/daemonset.yaml index 71d35eb97..973883be4 100644 --- a/helm/templates/daemonset.yaml +++ b/helm/templates/daemonset.yaml @@ -32,7 +32,8 @@ spec: - name: efs-plugin securityContext: privileged: true - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + image: {{ printf "%s:%s" .Values.image.repository .Values.image.tag }} + imagePullPolicy: {{ .Values.image.pullPolicy }} args: - --endpoint=$(CSI_ENDPOINT) - --logtostderr @@ -64,6 +65,7 @@ spec: failureThreshold: 5 - name: cs-driver-registrar image: {{ printf "%s:%s" .Values.sidecars.nodeDriverRegistrarImage.repository .Values.sidecars.nodeDriverRegistrarImage.tag }} + imagePullPolicy: {{ .Values.sidecars.nodeDriverRegistrarImage.pullPolicy }} args: - --csi-address=$(ADDRESS) - --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH) @@ -84,6 +86,7 @@ spec: mountPath: /registration - name: liveness-probe image: {{ printf "%s:%s" .Values.sidecars.livenessProbeImage.repository .Values.sidecars.livenessProbeImage.tag }} + imagePullPolicy: {{ .Values.sidecars.livenessProbeImage.pullPolicy }} args: - --csi-address=/csi/csi.sock - --health-port=9809 diff --git a/helm/values.yaml b/helm/values.yaml index 6e6832cca..da973bc6f 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -13,9 +13,11 @@ sidecars: livenessProbeImage: repository: quay.io/k8scsi/livenessprobe tag: "v2.0.0" + pullPolicy: IfNotPresent nodeDriverRegistrarImage: repository: quay.io/k8scsi/csi-node-driver-registrar tag: "v1.3.0" + pullPolicy: IfNotPresent imagePullSecrets: [] nameOverride: ""