mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-27 10:19:35 +00:00
* 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
14 lines
292 B
Bash
Executable File
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
|