Skip to content

Commit

Permalink
using sudo for removing kops executable file
Browse files Browse the repository at this point in the history
  • Loading branch information
nothinux committed Jan 17, 2020
1 parent 200d610 commit ad42b26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/operations/updates_and_upgrades.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ brew update && brew upgrade kops
From Github:

```bash
rm -rf /usr/local/bin/kops
sudo rm -rf /usr/local/bin/kops
wget -O kops https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"' -f 4)/kops-darwin-amd64
chmod +x ./kops
sudo mv ./kops /usr/local/bin/
Expand All @@ -26,7 +26,7 @@ You can also rerun [these steps](../development/building.md) if previously built
From Github:

```bash
rm -rf /usr/local/bin/kops
sudo rm -rf /usr/local/bin/kops
wget -O kops https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"' -f 4)/kops-linux-amd64
chmod +x ./kops
sudo mv ./kops /usr/local/bin/
Expand Down

0 comments on commit ad42b26

Please sign in to comment.