From 0b66903e11a12cbdaf8db9f03fa3da96c375a0af Mon Sep 17 00:00:00 2001 From: Tomáš Levora Date: Thu, 16 May 2019 09:29:09 +0200 Subject: Adding rke binary download MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adding rke binary to download script to ensure it will be in place in the offline-installer package Issue-ID: OOM-1778 Change-Id: Ie3249511ab0e49a657608076c38f4d3b67e28f74 Signed-off-by: Tomáš Levora --- build/creating_data/download-bin-tools.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'build') diff --git a/build/creating_data/download-bin-tools.sh b/build/creating_data/download-bin-tools.sh index 9e6c7bff..327e210f 100755 --- a/build/creating_data/download-bin-tools.sh +++ b/build/creating_data/download-bin-tools.sh @@ -33,6 +33,7 @@ fi # we are keeping just dublin support in dublin branch KUBECTL_VERSION=${KUBECTL_VERSION:-1.13.5} HELM_VERSION=${HELM_VERSION:-2.12.3} +RKE_VERSION=${RKE_VERSION:-0.2.1} mkdir -p "$OUTDIR" cd "$OUTDIR" @@ -51,6 +52,9 @@ download "https://storage.googleapis.com/kubernetes-helm/helm-v${HELM_VERSION}-l tar -xf ./helm-v${HELM_VERSION}-linux-amd64.tar.gz linux-amd64/helm -O > helm rm -f ./helm-v${HELM_VERSION}-linux-amd64.tar.gz -chmod a+x ./helm ./kubectl +download "https://github.com/rancher/rke/releases/download/v${RKE_VERSION}/rke_linux-amd64" +mv rke_linux-amd64 rke + +chmod a+x ./helm ./kubectl ./rke exit 0 -- cgit 1.2.3-korg