diff options
author | Tomáš Levora <t.levora@partner.samsung.com> | 2019-05-16 09:29:09 +0200 |
---|---|---|
committer | Tomáš Levora <t.levora@partner.samsung.com> | 2019-05-16 09:41:42 +0200 |
commit | 0b66903e11a12cbdaf8db9f03fa3da96c375a0af (patch) | |
tree | c26103e1f146d3345882da3fb580890d71b0198f /build/creating_data | |
parent | 5950fd75a7e3be99f8d0ab7caac9a0bed267387e (diff) |
Adding rke binary download
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 <t.levora@partner.samsung.com>
Diffstat (limited to 'build/creating_data')
-rwxr-xr-x | build/creating_data/download-bin-tools.sh | 6 |
1 files changed, 5 insertions, 1 deletions
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 |