# Failed to install Jenkins Operator using Helm

**URL:** <https://community.jenkins.io/t/failed-to-install-jenkins-operator-using-helm/306>\
**Category:** Jenkins Operator\
**Created:** [August 12, 2021, 5:57pm UTC](https://community.jenkins.io/t/failed-to-install-jenkins-operator-using-helm/306 "2021-08-12T17:57:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zyzyx03](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/zyzyx03/32/274_2.png) [@zyzyx03](https://community.jenkins.io/u/zyzyx03)\
**Post date:** [August 12, 2021, 5:57pm UTC](https://community.jenkins.io/t/failed-to-install-jenkins-operator-using-helm/306/1 "2021-08-12T17:57:55Z")

</div>

Hello Everyone, I’m trying to install Jenkins-operator on k3s node using Helm and it failed with below message

```bash
Error: failed to download "jenkins/jenkins-operator" (hint: running `helm repo update` may help)

```

After repo update I try to install it once again with --debug, and this is the result.

```bash
install.go:173: [debug] Original chart version: ""
Error: failed to fetch https://raw.githubusercontent.com/jenkinsci/kubernetes-operator/master/chart/jenkins-operator/jenkins-operator/jenkins-operator-0.5.3.tgz : 404 Not Found
helm.go:88: [debug] failed to fetch https://raw.githubusercontent.com/jenkinsci/kubernetes-operator/master/chart/jenkins-operator/jenkins-operator/jenkins-operator-0.5.3.tgz : 404 Not Found
helm.sh/helm/v3/pkg/getter.(*HTTPGetter).get
	helm.sh/helm/v3/pkg/getter/httpgetter.go:90
helm.sh/helm/v3/pkg/getter.(*HTTPGetter).Get
	helm.sh/helm/v3/pkg/getter/httpgetter.go:42
helm.sh/helm/v3/pkg/downloader.(*ChartDownloader).DownloadTo
	helm.sh/helm/v3/pkg/downloader/chart_downloader.go:99
helm.sh/helm/v3/pkg/action.(*ChartPathOptions).LocateChart
	helm.sh/helm/v3/pkg/action/install.go:704
main.runInstall
	helm.sh/helm/v3/cmd/helm/install.go:185
main.newInstallCmd.func2
	helm.sh/helm/v3/cmd/helm/install.go:120
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/cobra@v1.1.3/command.go:852
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/cobra@v1.1.3/command.go:960
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/cobra@v1.1.3/command.go:897
main.main
	helm.sh/helm/v3/cmd/helm/helm.go:87
runtime.main
	runtime/proc.go:225
runtime.goexit
	runtime/asm_amd64.s:1371

```

helm version : v3.6.3+gd506314

If you have any workaround on how I can resolve this please share.  
Thanks

---

<div class="post-metadata">

**Author:** ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)\
**Post date:** [August 13, 2021, 2:01am UTC](https://community.jenkins.io/t/failed-to-install-jenkins-operator-using-helm/306/2 "2021-08-13T02:01:27Z")

</div>

> [@zyzyx03](#):
>
> `https://raw.githubusercontent.com/jenkinsci/kubernetes-operator/master/chart/jenkins-operator/jenkins-operator/jenkins-operator-0.5.3.tgz`

I didn’t know helm would download raw files like that.  
The file does exist:  
[https://github.com/jenkinsci/kubernetes-operator/raw/master/chart/jenkins-operator/jenkins-operator-0.5.3.tgz](https://github.com/jenkinsci/kubernetes-operator/raw/master/chart/jenkins-operator/jenkins-operator-0.5.3.tgz)  
which would make the url be  
[https://raw.githubusercontent.com/jenkinsci/kubernetes-operator/master/chart/jenkins-operator/jenkins-operator-0.5.3.tgz](https://raw.githubusercontent.com/jenkinsci/kubernetes-operator/master/chart/jenkins-operator/jenkins-operator-0.5.3.tgz)

(took me a while to find the diff of an extra /jenkins-operator)

I recommand forking and submitting a pr to fix [https://github.com/jenkinsci/kubernetes-operator/blob/058ea61d707f0e5864ebb4333c9ced6bfd06d188/chart/index.yaml#L12](https://github.com/jenkinsci/kubernetes-operator/blob/058ea61d707f0e5864ebb4333c9ced6bfd06d188/chart/index.yaml#L12)

I don’t know how you’ve installed your chart repo, so maybe you can update the repo locally, but doing a PR helps not just you but everyone.

---

<div class="post-metadata">

**Author:** ![zyzyx03](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/zyzyx03/32/274_2.png) [@zyzyx03](https://community.jenkins.io/u/zyzyx03)\
**Post date:** [August 13, 2021, 10:55am UTC](https://community.jenkins.io/t/failed-to-install-jenkins-operator-using-helm/306/3 "2021-08-13T10:55:54Z")

</div>

Thank You so much @halkeye sure will do.

---

<div class="post-metadata">

**Author:** ![Sig00rd](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/sig00rd/32/263_2.png) [@Sig00rd](https://community.jenkins.io/u/Sig00rd)\
**Post date:** [August 16, 2021, 11:59am UTC](https://community.jenkins.io/t/failed-to-install-jenkins-operator-using-helm/306/4 "2021-08-16T11:59:53Z")

</div>

Thank you very much @zyzyx03 for reporting this and @halkeye for the fix idea. I’ve issued a PR that fixes this and also the Makefile target used for releasing the Helm chart, so that this issue doesn’t come up in the future.

---

<div class="post-metadata">

**Author:** ![prryb](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/prryb/32/158_2.png) [@prryb](https://community.jenkins.io/u/prryb)\
**Post date:** [August 16, 2021, 1:36pm UTC](https://community.jenkins.io/t/failed-to-install-jenkins-operator-using-helm/306/5 "2021-08-16T13:36:42Z")

</div>

Hi, @zyzyx03 thanks for reporting this! The fix is merged in.

I just wanted to let you know, that you can always open a bug issue on our GitHub page: [Sign in to GitHub · GitHub](https://github.com/jenkinsci/kubernetes-operator/issues/new/choose)

Take care!
