From c5afd3e93cac3a6a170b6881695629eed75350c6 Mon Sep 17 00:00:00 2001 From: Sam Yuan Date: Sun, 17 Mar 2024 17:13:43 +0800 Subject: [PATCH] fix up Signed-off-by: Sam Yuan --- providers/microshift/microshift.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/providers/microshift/microshift.sh b/providers/microshift/microshift.sh index dbec04e..070cbec 100755 --- a/providers/microshift/microshift.sh +++ b/providers/microshift/microshift.sh @@ -85,6 +85,8 @@ function _setup_microshift() { run $CTR_CMD cp "${MICROSHIFT_CONTAINER_NAME}:/var/lib/microshift/resources/kubeadmin/kubeconfig" "$MICROSHIFT_KUBECONFIG" ok "copied kubeconfig to $MICROSHIFT_KUBECONFIG" + export KUBECONFIG="$MICROSHIFT_KUBECONFIG" + wait_for_cluster_ready }