Changing Flexvolume plugin directory to a location reachable by containerized kubelet.

pull/6/head
Cheng Xing 2017-08-22 17:50:47 -07:00
parent 2b08d1e5a1
commit 94c667b719
1 changed files with 1 additions and 1 deletions

View File

@ -749,7 +749,7 @@ EOF
if [[ "${master}" == "true" && "${MASTER_OS_DISTRIBUTION}" == "gci" ]] ||
[[ "${master}" == "false" && "${NODE_OS_DISTRIBUTION}" == "gci" ]]; then
cat >>$file <<EOF
VOLUME_PLUGIN_DIR: $(yaml-quote ${VOLUME_PLUGIN_DIR:-/home/kubernetes/flexvolume})
VOLUME_PLUGIN_DIR: $(yaml-quote ${VOLUME_PLUGIN_DIR:-/etc/srv/kubernetes/kubelet-plugins/volume/exec})
EOF
fi