From 6d49f562bce78c6459f11e82ea8d37e12edb8590 Mon Sep 17 00:00:00 2001 From: vitt-bagal <31851690+vitt-bagal@users.noreply.github.com> Date: Wed, 20 May 2020 19:00:17 +0530 Subject: [PATCH 1/2] Added s390x support Signed-off-by: vitthalb@us.ibm.com --- scripts/get-helm-3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/get-helm-3 b/scripts/get-helm-3 index 1d0b3502e..22a93aa0e 100755 --- a/scripts/get-helm-3 +++ b/scripts/get-helm-3 @@ -33,6 +33,7 @@ initArch() { x86_64) ARCH="amd64";; i686) ARCH="386";; i386) ARCH="386";; + s390x) ARCH="s390x";; esac } @@ -60,7 +61,7 @@ runAsRoot() { # verifySupported checks that the os/arch combination is supported for # binary builds. verifySupported() { - local supported="darwin-386\ndarwin-amd64\nlinux-386\nlinux-amd64\nlinux-arm\nlinux-arm64\nlinux-ppc64le\nwindows-386\nwindows-amd64" + local supported="darwin-386\ndarwin-amd64\nlinux-386\nlinux-amd64\nlinux-arm\nlinux-arm64\nlinux-ppc64le\nlinux-s390x\nwindows-386\nwindows-amd64" if ! echo "${supported}" | grep -q "${OS}-${ARCH}"; then echo "No prebuilt binary for ${OS}-${ARCH}." echo "To build from source, go to https://github.com/helm/helm" From 569ad27f2bc16b7b407e8a464e70e70cac9a43a8 Mon Sep 17 00:00:00 2001 From: vitt-bagal <31851690+vitt-bagal@users.noreply.github.com> Date: Mon, 22 Jun 2020 20:50:54 +0530 Subject: [PATCH 2/2] remove s390x arch check Signed-off-by: vitthalb@us.ibm.com --- scripts/get-helm-3 | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/get-helm-3 b/scripts/get-helm-3 index 22a93aa0e..ce9411edc 100755 --- a/scripts/get-helm-3 +++ b/scripts/get-helm-3 @@ -33,7 +33,6 @@ initArch() { x86_64) ARCH="amd64";; i686) ARCH="386";; i386) ARCH="386";; - s390x) ARCH="s390x";; esac }