Removing default for volume-plugins mountpoint (#2618)

All checks test if this is defined meaning there is no way to undefine it.
This commit is contained in:
Brad Beam
2018-04-10 09:19:25 -05:00
committed by Matthew Mosesohn
parent 09f93d9e0c
commit 77b3f9bb97
5 changed files with 11 additions and 11 deletions

View File

@@ -23,9 +23,7 @@ ExecStart={{ bin_dir }}/kubelet \
Restart=always
RestartSec=10s
ExecStartPre=-{{ docker_bin_dir }}/docker rm -f kubelet
{% if kubelet_flexvolumes_plugins_dir is defined %}
ExecStartPre=-/bin/mkdir -p {{ kubelet_flexvolumes_plugins_dir }}
{% endif %}
ExecReload={{ docker_bin_dir }}/docker restart kubelet