From 88d920ba3987824cf986afbeb877ca5ff252914b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Mon, 11 Mar 2019 17:14:21 +0100 Subject: [PATCH] Update kubeless_setup.sh --- deploy/kubeless_setup.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/deploy/kubeless_setup.sh b/deploy/kubeless_setup.sh index f7031db..0bd75cf 100644 --- a/deploy/kubeless_setup.sh +++ b/deploy/kubeless_setup.sh @@ -2,4 +2,10 @@ RELEASE=$(curl -s https://api.github.com/repos/kubeless/kubeless/releases/latest | grep tag_name | cut -d '"' -f 4) kubectl create ns kubeless kubectl create -f https://github.com/kubeless/kubeless/releases/download/$RELEASE/kubeless-$RELEASE.yaml -#kubectl create -f https://github.com/kubeless/kubeless/releases/download/$RELEASE/kubeless-non-rbac-$RELEASE.yaml \ No newline at end of file +#kubectl create -f https://github.com/kubeless/kubeless/releases/download/$RELEASE/kubeless-non-rbac-$RELEASE.yaml + +#kubeless command +OS=$(uname -s| tr '[:upper:]' '[:lower:]') +curl -OL https://github.com/kubeless/kubeless/releases/download/$RELEASE/kubeless_$OS-amd64.zip && \ + unzip kubeless_$OS-amd64.zip && \ + sudo mv bundles/kubeless_$OS-amd64/kubeless /usr/local/bin/