Skip to content

Commit 6817c75

Browse files
committed
fix authentication issue during setup
``` W0803 01:46:29.410530 53470 update_cluster.go:350] Exported kubeconfig with no user authentication; use --admin, --user or --auth-plugin flags with `kops export kubeconfig` […] W0803 01:54:07.680800 53632 validate_cluster.go:184] (will retry): unexpected error during validation: error listing nodes: Unauthorized ``` Solution based on: testground#67
1 parent 5c5ddba commit 6817c75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

k8s/01_install_k8s.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ fi
5353

5454
kops create -f $CLUSTER_SPEC
5555
kops create secret --name $CLUSTER_NAME sshpublickey admin -i $PUBKEY
56-
kops update cluster $CLUSTER_NAME --yes
56+
kops update cluster $CLUSTER_NAME --yes --admin
5757

5858
# Wait for worker nodes and master to be ready
5959
kops validate cluster --wait 20m

0 commit comments

Comments
 (0)