Fix local volume provisioner mount point for rkt

This commit is contained in:
Matthew Mosesohn 2017-11-02 06:49:52 +00:00
parent c0e989b17c
commit 3e3787de15
2 changed files with 2 additions and 1 deletions

View file

@ -32,7 +32,7 @@ ExecStart=/usr/bin/rkt run \
--volume etc-cni,kind=host,source=/etc/cni,readOnly=true \
--volume opt-cni,kind=host,source=/opt/cni,readOnly=true \
--volume var-lib-cni,kind=host,source=/var/lib/cni,readOnly=false \
--volume local-volume-base-dir,target {{ local_volume_base_dir }},readOnly=false,recursive=true \
--volume local-volume-base-dir,kind=host,source={{ local_volume_base_dir }},readOnly=false,recursive=true \
--mount volume=etc-cni,target=/etc/cni \
--mount volume=opt-cni,target=/opt/cni \
--mount volume=var-lib-cni,target=/var/lib/cni \

View file

@ -60,6 +60,7 @@
- "{{ kube_config_dir }}/ssl"
- "{{ kube_manifest_dir }}"
- "{{ kube_script_dir }}"
- "{{ local_volume_base_dir }}"
- name: check cloud_provider value
fail: