Remove kubelet related flags from node e2e. Add a single flag kubelet-flags to pass kubelet flags all together.

This commit is contained in:
Random-Liu
2016-11-16 13:40:23 -08:00
parent 090809d8ad
commit edf7608c51
17 changed files with 228 additions and 168 deletions

View File

@@ -140,10 +140,9 @@ else
sudo -v || exit 1
fi
# If the flag --disable-kubenet is not set, set true by default.
if ! [[ $test_args =~ "--disable-kubenet" ]]; then
test_args="$test_args --disable-kubenet=true"
fi
# Do not use any network plugin by default. User could override the flags with
# test_args.
test_args='--kubelet-flags="--network-plugin= --network-plugin-dir=" '$test_args
# Test using the host the script was run on
# Provided for backwards compatibility