We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e4cfb55 + 4edec1f commit 20d6b2fCopy full SHA for 20d6b2f
cluster/gce/gci/configure-helper.sh
@@ -2848,7 +2848,7 @@ function wait-till-apiserver-ready() {
2848
2849
function ensure-bootstrap-kubectl-auth {
2850
# Creating an authenticated kubeconfig is only necessary if the insecure port is disabled.
2851
- if [[ -n "${KUBE_BOOTSTRAP_TOKEN}" ]]; then
+ if [[ -n "${KUBE_BOOTSTRAP_TOKEN:-}" ]]; then
2852
create-kubeconfig "cluster-bootstrap" ${KUBE_BOOTSTRAP_TOKEN}
2853
export KUBECONFIG=/etc/srv/kubernetes/cluster-bootstrap/kubeconfig
2854
fi
0 commit comments