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>
diff --git a/build/creating_data/download-bin-tools.sh b/build/creating_data/download-bin-tools.sh
index 9e6c7bf..327e210 100755
--- a/build/creating_data/download-bin-tools.sh
+++ b/build/creating_data/download-bin-tools.sh
@@ -33,6 +33,7 @@
# 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 @@
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