18 lines
627 B
Bash
Executable File
18 lines
627 B
Bash
Executable File
#!/bin/sh
|
|
|
|
INSTALL_PATH="/usr/local/bin/"
|
|
INSTALL_ARCH="amd64"
|
|
KUBECTL_VERSION=$(curl -L -s https://dl.k8s.io/release/stable.txt)
|
|
KUBIE_VERSION="latest"
|
|
YQ_VERSION="latest"
|
|
|
|
wget -qO ${INSTALL_PATH}/kubectl https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/${INSTALL_ARCH}/kubectl
|
|
chmod a+x ${INSTALL_PATH}/kubectl
|
|
|
|
wget -qO ${INSTALL_PATH}/kubie https://github.com/sbstp/kubie/releases/${KUBIE_VERSION}/download/kubie-linux-${INSTALL_ARCH}
|
|
chmod a+x ${INSTALL_PATH}/kubie
|
|
|
|
wget -qO ${INSTALL_PATH}/yq https://github.com/mikefarah/yq/releases/${YQ_VERSION}/download/yq_linux_${INSTALL_ARCH}
|
|
chmod a+x ${INSTALL_PATH}/yq
|
|
|