Adding recursive=true for rkt kubelet dir

Fixes #1434
pull/1441/head
Brad Beam 2017-07-12 09:28:54 -05:00
parent 483c06b4ab
commit e0bf8b2aab
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ ExecStart=/usr/bin/rkt run \
--volume {{ dir | regex_replace('^/(.*)$', '\\1' ) | regex_replace('/', '-') }},kind=host,source={{ dir }},readOnly=true \
{% endfor -%}
--volume var-lib-docker,kind=host,source={{ docker_daemon_graph }},readOnly=false \
--volume var-lib-kubelet,kind=host,source=/var/lib/kubelet,readOnly=false \
--volume var-lib-kubelet,kind=host,source=/var/lib/kubelet,readOnly=false,recursive=true \
--volume var-log,kind=host,source=/var/log \
{% if kube_network_plugin in ["calico", "weave", "canal"] %}
--volume etc-cni,kind=host,source=/etc/cni,readOnly=true \