Updates to Linux CI Script in README

I needed to run the following 2 commands before `kubectl` worked correctly:
sudo chown -R $USER $HOME/.minikube
sudo chgrp -R $USER $HOME/.minikube
pull/3156/head
Raunak Ramakrishnan 2018-09-23 12:02:04 +00:00 committed by GitHub
parent 0f98509bef
commit 59bf9709dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -79,6 +79,10 @@ touch $HOME/.kube/config
export KUBECONFIG=$HOME/.kube/config
sudo -E minikube start --vm-driver=none
# Change permissions of .minikube directory to current user
sudo chown -R $USER $HOME/.minikube
sudo chgrp -R $USER $HOME/.minikube
# this for loop waits until kubectl can access the api server that Minikube has created
for i in {1..150}; do # timeout for 5 minutes
kubectl get po &> /dev/null