|
|
@ -27,9 +27,11 @@ ExecStart=/usr/bin/rkt run \ |
|
|
|
--volume etcd-ssl,kind=host,source={{ etcd_config_dir }},readOnly=true \ |
|
|
|
--volume opt-cni,kind=host,source=/opt/cni,readOnly=true \ |
|
|
|
--volume run,kind=host,source=/run,readOnly=false \ |
|
|
|
--volume usr-share-certs,kind=host,source=/usr/share/ca-certificates,readOnly=true \ |
|
|
|
{% for dir in ssl_ca_dirs -%} |
|
|
|
--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 \ |
|
|
|
--volume var-log,kind=host,source=/var/log \ |
|
|
|
--mount volume=dns,target=/etc/resolv.conf \ |
|
|
|
--mount volume=etc-cni,target=/etc/cni \ |
|
|
@ -38,7 +40,9 @@ ExecStart=/usr/bin/rkt run \ |
|
|
|
--mount volume=etcd-ssl,target={{ etcd_config_dir }} \ |
|
|
|
--mount volume=opt-cni,target=/opt/cni \ |
|
|
|
--mount volume=run,target=/run \ |
|
|
|
--mount volume=usr-share-certs,target=/usr/share/ca-certificates \ |
|
|
|
{% for dir in ssl_ca_dirs -%} |
|
|
|
--mount volume={{ dir | regex_replace('^/(.*)$', '\\1' ) | regex_replace('/', '-') }},target={{ dir }} \ |
|
|
|
{% endfor -%} |
|
|
|
--mount volume=var-lib-docker,target=/var/lib/docker \ |
|
|
|
--mount volume=var-lib-kubelet,target=/var/lib/kubelet \ |
|
|
|
--mount volume=var-log,target=/var/log \ |
|
|
|