Created
October 7, 2017 15:04
-
-
Save looztra/983f195a5a06cb6c34bf6730bedf25f3 to your computer and use it in GitHub Desktop.
Kubectl and Minikube update fish functions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function minikube-update -d 'Update minikube to latest release' | |
| curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 ; and chmod +x minikube ; and mv minikube ~/.local/bin/ | |
| end | |
| function kubectl-update -d 'Update kubectl to latest release' | |
| curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl ; and chmod +x kubectl ; and mv kubectl ~/.local/bin/ | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment