Added in code to allow control over pull policy for local path provis… (#5334)

* Added in code to allow control over pull policy for local path provisioner

* change to imagePullPolicy to use globally used variable k8s_image_pull_policy

* removed unusued variable from defaults

* updated contiv-etcd and cinder-csi-controllerplugin to use k8s_image_pull_policy variable
This commit is contained in:
lcooper40
2020-02-17 10:13:30 +00:00
committed by GitHub
parent d56e9f6b80
commit 579976260f
3 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ spec:
env:
- name: ADDRESS
value: /var/lib/csi/sockets/pluginproxy/csi.sock
imagePullPolicy: Always
imagePullPolicy: {{ k8s_image_pull_policy }}
volumeMounts:
- mountPath: /var/lib/csi/sockets/pluginproxy/
name: socket-dir