diff --git a/instalee b/instalee index 8c08a0e..bd2e570 100755 --- a/instalee +++ b/instalee @@ -70,6 +70,7 @@ installpkg() { destress " running unhandled $pkg_entry" $pkg_entry fi + set +e break done } diff --git a/packages/kubectl/linux b/packages/kubectl/linux new file mode 100755 index 0000000..86f6253 --- /dev/null +++ b/packages/kubectl/linux @@ -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