mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 05:01:46 +00:00
Fix logic errors in validate cluster and make it work for vagrant again
This commit is contained in:
@@ -27,4 +27,5 @@ export KUBERNETES_MASTER="https://10.245.1.2"
|
||||
MINION_IP_BASE="10.245.2."
|
||||
for (( i=0; i <${NUM_MINIONS}; i++)) do
|
||||
KUBE_MINION_IP_ADDRESSES[$i]="${MINION_IP_BASE}$[$i+2]"
|
||||
MINION_NAMES[$i]="${MINION_IP_BASE}$[$i+2]"
|
||||
done
|
@@ -67,3 +67,11 @@ function test-setup {
|
||||
function test-teardown {
|
||||
echo "Vagrant ignores tear-down"
|
||||
}
|
||||
|
||||
# Set the {user} and {password} environment values required to interact with provider
|
||||
function get-password {
|
||||
export user=vagrant
|
||||
export passwd=vagrant
|
||||
echo "Using credentials: $user:$passwd"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user