move flexvolume plugin directory creation to preinstall (#4999)

* move flexvolume plugin directory creation to preinstall

* changes per pr feedback
This commit is contained in:
Jeff Bornemann
2019-07-30 15:00:10 -04:00
committed by Kubernetes Prow Robot
parent fbbfff3795
commit da50ed0936
6 changed files with 15 additions and 3 deletions

View File

@@ -7,7 +7,6 @@ Wants=docker.socket
[Service]
User=root
EnvironmentFile=-{{ kube_config_dir }}/kubelet.env
ExecStartPre=-/bin/mkdir -p {{ kubelet_flexvolumes_plugins_dir }}
ExecStart={{ bin_dir }}/kubelet \
$KUBE_LOGTOSTDERR \
$KUBE_LOG_LEVEL \