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 8c4e3fa commit 339918dCopy full SHA for 339918d
cluster/gce/gci/configure-helper.sh
@@ -2564,6 +2564,10 @@ function gke-master-start {
2564
echo "Running GKE internal configuration script"
2565
. "${KUBE_HOME}/bin/gke-internal-configure-helper.sh"
2566
gke-internal-master-start
2567
+ elif [[ -n "${KUBE_BEARER_TOKEN:-}" ]]; then
2568
+ echo "setting up local admin kubeconfig"
2569
+ create-kubeconfig "local-admin" "${KUBE_BEARER_TOKEN}"
2570
+ echo "export KUBECONFIG=/etc/srv/kubernetes/local-admin/kubeconfig" > /etc/profile.d/kubeconfig.sh
2571
fi
2572
}
2573
0 commit comments