fix: exit code and add kubectl
This commit is contained in:
parent
c87ee60274
commit
2ede79a59c
2 changed files with 6 additions and 0 deletions
1
instalee
1
instalee
|
@ -70,6 +70,7 @@ installpkg() {
|
|||
destress " running unhandled $pkg_entry"
|
||||
$pkg_entry
|
||||
fi
|
||||
set +e
|
||||
break
|
||||
done
|
||||
}
|
||||
|
|
5
packages/kubectl/linux
Executable file
5
packages/kubectl/linux
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh -e
|
||||
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
||||
curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256"
|
||||
echo "$(cat kubectl.sha256) kubectl" | sha256sum --check
|
||||
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
|
Loading…
Add table
Reference in a new issue