Files
matchbox/scripts/get-kubectl
Dalton Hubble ca4ab1a230 examples: Update Kubernetes (static, self-hosted, rktnetes) to v1.5.5
* Bump kubectl version to v1.5.5
* Bump bootkube to v0.3.12
2017-03-21 21:47:14 -07:00

14 lines
292 B
Bash
Executable File

#!/usr/bin/env bash
# USAGE: ./get-kubectl bin
# Get the kubectl client
set -eu
DEST=${1:-"bin"}
VERSION="v1.5.5"
URL="https://storage.googleapis.com/kubernetes-release/release/${VERSION}/bin/linux/amd64/kubectl"
mkdir -p ${DEST}
curl -L -o ${DEST}/kubectl ${URL}
chmod +x ${DEST}/kubectl