helm: https://raw.githubusercontent.com/helm/helm/master/scripts/get script fails - SHA1 verification failure - aborts

The SHA1 verification of the helm binary downloaded via the script at https://raw.githubusercontent.com/helm/helm/master/scripts/get fails as of today. I’m using this method to install helm on CircleCI build job and it’s been working great but now it’s failing everytime. I tried it on my own machine and the script aborts as well.

SHA sum of /tmp/helm-installer-Nkn4p1/helm-tooltipped-s-linux-amd64.tar.gz does not match. Aborting.
Failed to install helm
	For support, go to https://github.com/helm/helm.```

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 16
  • Comments: 29 (8 by maintainers)

Most upvoted comments

Another workaround that I’m using is giving the desired version for the script as a parameter, like so: curl -fsSL https://raw.githubusercontent.com/helm/helm/master/scripts/get | bash -s -- -v v2.13.0

@Andycharalambous please give #5478 a try. The get script relies on scraping Github’s release page to fetch the correct version. I had to add an additional check to the get script to strip out further href links that were recently added to the releases page.

To work around this, you can also set the DESIRED_VERSION environment variable like so:

export DESIRED_VERSION=v2.13.0
curl -sSL https://raw.githubusercontent.com/helm/helm/master/scripts/get | bash

Hi, we started to get this issue today around 5pm EST. The script was working fine until today.

#!/bin/bash -eo pipefail
cd ~ && curl https://raw.githubusercontent.com/helm/helm/master/scripts/get > get_helm.sh && chmod 700 get_helm.sh && ./get_helm.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7163  100  7163    0     0   438k      0 --:--:-- --:--:-- --:--:--  466k
Downloading https://get.helm.sh/helm--linux-amd64.tar.gz
SHA sum of /tmp/helm-installer-QQqNfm/helm--linux-amd64.tar.gz does not match. Aborting.
Failed to install helm
	For support, go to https://github.com/helm/helm.

Exited with code exit status 1

As you can see the script can’t get the proper version helm--linux-amd64.tar.gz we never passed the version to the install script but now it suddenly start failing

Hi, I have the same issue for 2.8.x Helm versions. Is it just me? Thank you

I got the same error,

Just set export DESIRED_VERSION=v2.13.0 before and you will be all good

@bacongobbler It works now. Thanks

Yep, identified the issue. Patch incoming