mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Fix gke/util.sh
This commit is contained in:
parent
00cb644f45
commit
52dd55c5ec
@ -71,7 +71,7 @@ function test-build-release() {
|
|||||||
function verify-prereqs() {
|
function verify-prereqs() {
|
||||||
if ! which gcloud >/dev/null; then
|
if ! which gcloud >/dev/null; then
|
||||||
local resp
|
local resp
|
||||||
if [[ "${KUBE_PROMPT_FOR_UPDATE" == "y" ]]; then
|
if [[ "${KUBE_PROMPT_FOR_UPDATE}" == "y" ]]; then
|
||||||
echo "Can't find gcloud in PATH. Do you wish to install the Google Cloud SDK? [Y/n]"
|
echo "Can't find gcloud in PATH. Do you wish to install the Google Cloud SDK? [Y/n]"
|
||||||
read resp
|
read resp
|
||||||
else
|
else
|
||||||
@ -85,7 +85,7 @@ function verify-prereqs() {
|
|||||||
echo "SDK can be downloaded from https://cloud.google.com/sdk/."
|
echo "SDK can be downloaded from https://cloud.google.com/sdk/."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# update and install components as needed
|
# update and install components as needed
|
||||||
if [[ "${KUBE_PROMPT_FOR_UPDATE}" != "y" ]]; then
|
if [[ "${KUBE_PROMPT_FOR_UPDATE}" != "y" ]]; then
|
||||||
gcloud_prompt="-q"
|
gcloud_prompt="-q"
|
||||||
|
Loading…
Reference in New Issue
Block a user