mirror of
https://github.com/outbackdingo/matchbox.git
synced 2026-01-27 18:19:36 +00:00
Merge pull request #458 from coreos/download-bins
scripts: Always download bootkube and kubectl
This commit is contained in:
@@ -8,9 +8,7 @@ VERSION="v0.3.11"
|
||||
|
||||
URL="https://github.com/kubernetes-incubator/bootkube/releases/download/${VERSION}/bootkube.tar.gz"
|
||||
|
||||
if [[ ! -f $DEST/bootkube ]]; then
|
||||
mkdir -p $DEST
|
||||
curl -L -O ${URL}
|
||||
tar -C $DEST --strip-components=2 -xzf bootkube.tar.gz bin/linux/bootkube
|
||||
chmod +x ${DEST}/bootkube
|
||||
fi
|
||||
mkdir -p $DEST
|
||||
curl -L -O ${URL}
|
||||
tar -C $DEST --strip-components=2 -xzf bootkube.tar.gz bin/linux/bootkube
|
||||
chmod +x ${DEST}/bootkube
|
||||
|
||||
@@ -8,8 +8,6 @@ VERSION="v1.5.2"
|
||||
|
||||
URL="https://storage.googleapis.com/kubernetes-release/release/${VERSION}/bin/linux/amd64/kubectl"
|
||||
|
||||
if [[ ! -f $DEST/kubectl ]]; then
|
||||
mkdir -p ${DEST}
|
||||
curl -L -o ${DEST}/kubectl ${URL}
|
||||
chmod +x ${DEST}/kubectl
|
||||
fi
|
||||
mkdir -p ${DEST}
|
||||
curl -L -o ${DEST}/kubectl ${URL}
|
||||
chmod +x ${DEST}/kubectl
|
||||
|
||||
Reference in New Issue
Block a user