diff --git a/hack/lib/util.sh b/hack/lib/util.sh index 4364dffc1d7..ff46bad7ef8 100644 --- a/hack/lib/util.sh +++ b/hack/lib/util.sh @@ -25,6 +25,12 @@ kube::util::wait_for_url() { local times=${4:-10} local i + + which curl >/dev/null || { + kube::log::usage "curl must be installed" + exit 1 + } + for i in $(seq 1 $times); do local out if out=$(curl -fs $url 2>/dev/null); then