Merge pull request #3305 from bacongobbler/add-amd-arch-to-get

add amd, ppc64le, and windows OS/architectures
This commit is contained in:
Justin Scott
2018-01-09 10:00:54 -08:00
committed by GitHub

View File

@@ -60,9 +60,9 @@ runAsRoot() {
# verifySupported checks that the os/arch combination is supported for
# binary builds.
verifySupported() {
local supported="linux-amd64\ndarwin-amd64\nlinux-386"
local supported="darwin-386\ndarwin-amd64\nlinux-386\nlinux-amd64\nlinux-arm\nlinux-arm64\nlinux-ppc64le\nwindows-386\nwindows-amd64"
if ! echo "${supported}" | grep -q "${OS}-${ARCH}"; then
echo "No prebuild binary for ${OS}-${ARCH}."
echo "No prebuilt binary for ${OS}-${ARCH}."
echo "To build from source, go to https://github.com/kubernetes/helm"
exit 1
fi