Files
matchbox/scripts/dev/get-bootkube
Dalton Hubble d7783a94e9 examples: Update Kubernetes from v1.7.3 to v1.7.5
* Switch Terraform example to use Typhoon project's module
instead: https://github.com/poseidon/typhoon
* Includes support for Calico and Flannel
2017-09-14 15:52:58 -07:00

15 lines
350 B
Bash
Executable File

#!/usr/bin/env bash
# USAGE: ./get-bootkube bin
# Get the bootkube tool
set -eu
DEST=${1:-"bin"}
VERSION="v0.6.2"
URL="https://github.com/kubernetes-incubator/bootkube/releases/download/${VERSION}/bootkube.tar.gz"
mkdir -p $DEST
curl -L -O ${URL}
tar -C $DEST --strip-components=2 -xzf bootkube.tar.gz bin/linux/bootkube
chmod +x ${DEST}/bootkube