mirror of
https://gitlab.com/mlunax/dotfiles.git
synced 2025-04-12 05:40:17 +00:00
add devops script
This commit is contained in:
parent
662e165e60
commit
a0df4bf5b2
1 changed files with 6 additions and 0 deletions
6
install-devops.tools.sh
Normal file
6
install-devops.tools.sh
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
if ! type "kubectl" > /dev/null; then
|
||||||
|
tmp_path=/tmp/kubectl
|
||||||
|
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" -o $tmp_path
|
||||||
|
install $tmp_path $HOME/.local/bin
|
||||||
|
rm $tmp_path
|
||||||
|
fi
|
Loading…
Add table
Reference in a new issue