Files
matchbox/scripts/dev/get-kubectl
Dalton Hubble ff06990edb examples: Upgrade Kubernetes to v1.6.6
* Upgrade to bootkube v0.4.5
* Enable TLS for experimental self-hosted etcd
* Upstream manifest generation changes modify the flannel
Daemonset, switch several control plane components to run
as non-root, and add an explicit UpdateStrategy to the
control plane components
2017-06-24 14:39:10 -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.6.6"
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