From a42001c6fd3ea285d9f87a7caac9c66d6a8db81a Mon Sep 17 00:00:00 2001 From: Cornelius Ihle Date: Tue, 14 Dec 2021 14:18:57 +0100 Subject: [PATCH] Auth fix for kops>=1.19 --- k8s/01_install_k8s.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/k8s/01_install_k8s.sh b/k8s/01_install_k8s.sh index 0e65ec55..ba65eaab 100755 --- a/k8s/01_install_k8s.sh +++ b/k8s/01_install_k8s.sh @@ -56,6 +56,7 @@ kops create secret --name $CLUSTER_NAME sshpublickey admin -i $PUBKEY kops update cluster $CLUSTER_NAME --yes # Wait for worker nodes and master to be ready +kops export kubecfg --admin --name $CLUSTER_NAME kops validate cluster --wait 20m echo "Cluster nodes are Ready"