mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 19:58:07 +03:00
move flexvolume plugin directory creation to preinstall (#4999)
* move flexvolume plugin directory creation to preinstall * changes per pr feedback
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
fbbfff3795
commit
da50ed0936
@@ -178,3 +178,13 @@
|
||||
etcd_deployment_type: host
|
||||
when:
|
||||
- etcd_kubeadm_enabled
|
||||
|
||||
- name: check /usr readonly
|
||||
stat:
|
||||
path: "/usr"
|
||||
register: usr
|
||||
|
||||
- name: set alternate flexvolume path
|
||||
set_fact:
|
||||
kubelet_flexvolumes_plugins_dir: /var/lib/kubelet/volumeplugins
|
||||
when: not usr.stat.writeable
|
||||
|
||||
Reference in New Issue
Block a user