Skip to content

Commit

Permalink
Fix chown timing issues on k8s deploy (elastic#5410)
Browse files Browse the repository at this point in the history
It seems to be failing for v1.7.7, this change should fix it
  • Loading branch information
exekias committed Oct 27, 2017
1 parent 639c1f1 commit 9eaf092
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions deploy/kubernetes/.travis/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9eaf092

Please sign in to comment.