mirror of https://github.com/k3s-io/k3s
Fix detect-minions.
parent
071997593b
commit
8364fa5c93
|
@ -141,6 +141,7 @@ function upload-server-tars() {
|
|||
# Vars set:
|
||||
# KUBE_MINION_IP_ADDRESS (array)
|
||||
function detect-minions () {
|
||||
detect-project
|
||||
KUBE_MINION_IP_ADDRESSES=()
|
||||
for (( i=0; i<${#MINION_NAMES[@]}; i++)); do
|
||||
local minion_ip=$(gcloud compute instances describe --project "${PROJECT}" --zone "${ZONE}" \
|
||||
|
|
Loading…
Reference in New Issue