diff --git a/cluster/gce/gci/configure-helper.sh b/cluster/gce/gci/configure-helper.sh index 78810cfebb6..6ce814319af 100644 --- a/cluster/gce/gci/configure-helper.sh +++ b/cluster/gce/gci/configure-helper.sh @@ -2847,7 +2847,7 @@ function wait-till-apiserver-ready() { function ensure-bootstrap-kubectl-auth { # Creating an authenticated kubeconfig is only necessary if the insecure port is disabled. - if [[ -n "${KUBE_BOOTSTRAP_TOKEN}" ]]; then + if [[ -n "${KUBE_BOOTSTRAP_TOKEN:-}" ]]; then create-kubeconfig "cluster-bootstrap" ${KUBE_BOOTSTRAP_TOKEN} export KUBECONFIG=/etc/srv/kubernetes/cluster-bootstrap/kubeconfig fi