diff --git a/deploy/kubernetes/.travis/setup.sh b/deploy/kubernetes/.travis/setup.sh index 921facc373fc..7de6f3adc264 100755 --- a/deploy/kubernetes/.travis/setup.sh +++ b/deploy/kubernetes/.travis/setup.sh @@ -57,10 +57,5 @@ echo "Kubernetes is deployed and reachable" # a command that is run in the background. Technically Kubernetes could be # up and running, but those files might not exist yet as the previous command # could create them after Kube starts successfully. -sleep 5 - -sudo chown -R $USER:$USER $HOME/.kube - -# Have seen issues where chown does not instantly change file permissions. -# When this happens the build.sh cript can have failures. sleep 30 +sudo chown -R $USER:$USER $HOME/.kube