echo"Waiting for cluster $CLUSTER_NAME in project $PROJECT to reconcile..."
echo"Waiting for cluster $PROJECT/$CLUSTER_LOCATION/$CLUSTER_NAME to reconcile..."
while
current_status=$(gcloud container clusters list --project="$PROJECT"--filter=name:"$CLUSTER_NAME"--format="value(status)"--impersonate-service-account="$IMPERSONATE_SERVICE_ACCOUNT")
current_status=$(gcloud container clusters list --project="$PROJECT"--filter="name=$CLUSTER_NAME AND location=$CLUSTER_LOCATION"--format="value(status)"--impersonate-service-account="$IMPERSONATE_SERVICE_ACCOUNT")
if[-z"${current_status}"];then
echo"Unable to get status for $PROJECT/$CLUSTER_LOCATION/$CLUSTER_NAME"
echo"Waiting for cluster $CLUSTER_NAME in project $PROJECT to reconcile..."
echo"Waiting for cluster $PROJECT/$CLUSTER_LOCATION/$CLUSTER_NAME to reconcile..."
while
current_status=$(gcloud container clusters list --project="$PROJECT"--filter=name:"$CLUSTER_NAME"--format="value(status)"--impersonate-service-account="$IMPERSONATE_SERVICE_ACCOUNT")
current_status=$(gcloud container clusters list --project="$PROJECT"--filter="name=$CLUSTER_NAME AND location=$CLUSTER_LOCATION"--format="value(status)"--impersonate-service-account="$IMPERSONATE_SERVICE_ACCOUNT")
if[-z"${current_status}"];then
echo"Unable to get status for $PROJECT/$CLUSTER_LOCATION/$CLUSTER_NAME"
echo"Waiting for cluster $CLUSTER_NAME in project $PROJECT to reconcile..."
echo"Waiting for cluster $PROJECT/$CLUSTER_LOCATION/$CLUSTER_NAME to reconcile..."
while
current_status=$(gcloud container clusters list --project="$PROJECT"--filter=name:"$CLUSTER_NAME"--format="value(status)"--impersonate-service-account="$IMPERSONATE_SERVICE_ACCOUNT")
current_status=$(gcloud container clusters list --project="$PROJECT"--filter="name=$CLUSTER_NAME AND location=$CLUSTER_LOCATION"--format="value(status)"--impersonate-service-account="$IMPERSONATE_SERVICE_ACCOUNT")
if[-z"${current_status}"];then
echo"Unable to get status for $PROJECT/$CLUSTER_LOCATION/$CLUSTER_NAME"
echo"Waiting for cluster $CLUSTER_NAME in project $PROJECT to reconcile..."
echo"Waiting for cluster $PROJECT/$CLUSTER_LOCATION/$CLUSTER_NAME to reconcile..."
while
current_status=$(gcloud container clusters list --project="$PROJECT"--filter=name:"$CLUSTER_NAME"--format="value(status)"--impersonate-service-account="$IMPERSONATE_SERVICE_ACCOUNT")
current_status=$(gcloud container clusters list --project="$PROJECT"--filter="name=$CLUSTER_NAME AND location=$CLUSTER_LOCATION"--format="value(status)"--impersonate-service-account="$IMPERSONATE_SERVICE_ACCOUNT")
if[-z"${current_status}"];then
echo"Unable to get status for $PROJECT/$CLUSTER_LOCATION/$CLUSTER_NAME"
echo"Waiting for cluster $CLUSTER_NAME in project $PROJECT to reconcile..."
echo"Waiting for cluster $PROJECT/$CLUSTER_LOCATION/$CLUSTER_NAME to reconcile..."
while
current_status=$(gcloud container clusters list --project="$PROJECT"--filter=name:"$CLUSTER_NAME"--format="value(status)"--impersonate-service-account="$IMPERSONATE_SERVICE_ACCOUNT")
current_status=$(gcloud container clusters list --project="$PROJECT"--filter="name=$CLUSTER_NAME AND location=$CLUSTER_LOCATION"--format="value(status)"--impersonate-service-account="$IMPERSONATE_SERVICE_ACCOUNT")
if[-z"${current_status}"];then
echo"Unable to get status for $PROJECT/$CLUSTER_LOCATION/$CLUSTER_NAME"
echo"Waiting for cluster $CLUSTER_NAME in project $PROJECT to reconcile..."
echo"Waiting for cluster $PROJECT/$CLUSTER_LOCATION/$CLUSTER_NAME to reconcile..."
while
current_status=$(gcloud container clusters list --project="$PROJECT"--filter=name:"$CLUSTER_NAME"--format="value(status)"--impersonate-service-account="$IMPERSONATE_SERVICE_ACCOUNT")
current_status=$(gcloud container clusters list --project="$PROJECT"--filter="name=$CLUSTER_NAME AND location=$CLUSTER_LOCATION"--format="value(status)"--impersonate-service-account="$IMPERSONATE_SERVICE_ACCOUNT")
if[-z"${current_status}"];then
echo"Unable to get status for $PROJECT/$CLUSTER_LOCATION/$CLUSTER_NAME"
echo"Waiting for cluster $CLUSTER_NAME in project $PROJECT to reconcile..."
echo"Waiting for cluster $PROJECT/$CLUSTER_LOCATION/$CLUSTER_NAME to reconcile..."
while
current_status=$(gcloud container clusters list --project="$PROJECT"--filter=name:"$CLUSTER_NAME"--format="value(status)"--impersonate-service-account="$IMPERSONATE_SERVICE_ACCOUNT")
current_status=$(gcloud container clusters list --project="$PROJECT"--filter="name=$CLUSTER_NAME AND location=$CLUSTER_LOCATION"--format="value(status)"--impersonate-service-account="$IMPERSONATE_SERVICE_ACCOUNT")
if[-z"${current_status}"];then
echo"Unable to get status for $PROJECT/$CLUSTER_LOCATION/$CLUSTER_NAME"
echo"Waiting for cluster $CLUSTER_NAME in project $PROJECT to reconcile..."
echo"Waiting for cluster $PROJECT/$CLUSTER_LOCATION/$CLUSTER_NAME to reconcile..."
while
current_status=$(gcloud container clusters list --project="$PROJECT"--filter=name:"$CLUSTER_NAME"--format="value(status)"--impersonate-service-account="$IMPERSONATE_SERVICE_ACCOUNT")
current_status=$(gcloud container clusters list --project="$PROJECT"--filter="name=$CLUSTER_NAME AND location=$CLUSTER_LOCATION"--format="value(status)"--impersonate-service-account="$IMPERSONATE_SERVICE_ACCOUNT")
if[-z"${current_status}"];then
echo"Unable to get status for $PROJECT/$CLUSTER_LOCATION/$CLUSTER_NAME"