aboutsummaryrefslogtreecommitdiffstats
path: root/test/security/k8s/tools/dublin/get_rke.sh
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2019-07-29 13:17:51 +0200
committerPawel Wieczorek <p.wieczorek2@samsung.com>2019-07-31 15:47:41 +0200
commit2d13ea81519bacdd7f17ce91ec06bc7ac26a6cac (patch)
treeda01087d5e59d6dc6d2816fc52eae7f22bbb3404 /test/security/k8s/tools/dublin/get_rke.sh
parent595116580615502e0a0e70a9e1b906c6c41477af (diff)
k8s: Add kubectl provisioners (downloading and setting up)
Setting up kubectl depends on presence of K8s cluster post-deployment artifacts, hence it's disabled by default. Relevant information added to post-up message. This patch also removes unneeded curly braces from "tools/dublin/get_rke.sh" script. Issue-ID: SECCOM-235 Change-Id: I917ebbda588639f0941e16c65759430a7a1e64ff Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'test/security/k8s/tools/dublin/get_rke.sh')
-rwxr-xr-xtest/security/k8s/tools/dublin/get_rke.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/security/k8s/tools/dublin/get_rke.sh b/test/security/k8s/tools/dublin/get_rke.sh
index 63ef8c77e..01dd20a96 100755
--- a/test/security/k8s/tools/dublin/get_rke.sh
+++ b/test/security/k8s/tools/dublin/get_rke.sh
@@ -33,7 +33,7 @@ URL="https://github.com/rancher/rke/releases/download/${VERSION}/${BINARY}"
# Prerequistes
wget "$URL"
-chmod +x "${BINARY}"
+chmod +x "$BINARY"
# Installation
-mv "${BINARY}" "/usr/local/bin/${BINARY%%_*}" # this also renames binary to "rke"
+mv "$BINARY" "/usr/local/bin/${BINARY%%_*}" # this also renames binary to "rke"