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.
1 parent 8ae998c commit 4edec1fCopy full SHA for 4edec1f
cluster/gce/gci/configure-helper.sh
@@ -2847,7 +2847,7 @@ function wait-till-apiserver-ready() {
2847
2848
function ensure-bootstrap-kubectl-auth {
2849
# Creating an authenticated kubeconfig is only necessary if the insecure port is disabled.
2850
- if [[ -n "${KUBE_BOOTSTRAP_TOKEN}" ]]; then
+ if [[ -n "${KUBE_BOOTSTRAP_TOKEN:-}" ]]; then
2851
create-kubeconfig "cluster-bootstrap" ${KUBE_BOOTSTRAP_TOKEN}
2852
export KUBECONFIG=/etc/srv/kubernetes/cluster-bootstrap/kubeconfig
2853
fi
0 commit comments