Skip to content

Commit

Permalink
Setting default FlexVolume driver directory on COS images.
Browse files Browse the repository at this point in the history
  • Loading branch information
verult committed Jul 10, 2017
1 parent b39a0a7 commit 01fd621
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cluster/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,12 @@ EOF
if [ -n "${FEATURE_GATES:-}" ]; then
cat >>$file <<EOF
FEATURE_GATES: $(yaml-quote ${FEATURE_GATES})
EOF
fi
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})
EOF
fi

Expand Down

0 comments on commit 01fd621

Please sign in to comment.