Binderhub helm chart install fails when specifying `--version` with helm v3
See original GitHub issueFor some reason, I have trouble installing binderhub via helm v3 (I’m using v3.0.3). The error message is Error: failed to download "jupyterhub/binderhub" (hint: running helm repo update may help).
. The issue is, however, not related to helm repo update
.
Steps to reproduce:
Add the helm repo and update it:
helm repo add jupyterhub https://jupyterhub.github.io/helm-chart
helm repo update
Run helm repo list
. Output on my computer:
NAME URL
stable https://kubernetes-charts.storage.googleapis.com
jetstack https://charts.jetstack.io
pfisterer-knox https://pfisterer.github.io/apache-knox-helm/
jupyterhub https://jupyterhub.github.io/helm-chart
Run helm search repo -l jupyterhub/binderhub
to list available versions. Output on my computer:
NAME CHART VERSION APP VERSION DESCRIPTION
jupyterhub/binderhub 0.2.0-001.00f7197 A helm chart to install Binder
jupyterhub/binderhub 0.2.0-013.dace2ee A helm chart to install Binder
jupyterhub/binderhub 0.2.0-049.8a0cee8 A helm chart to install Binder
jupyterhub/binderhub 0.2.0-024.1820a10 A helm chart to install Binder
jupyterhub/binderhub 0.2.0-021.66516e5 A helm chart to install Binder
jupyterhub/binderhub 0.2.0-072.544c0b1 A helm chart to install Binder
jupyterhub/binderhub 0.2.0-065.f0e541b A helm chart to install Binder
jupyterhub/binderhub 0.2.0-037.c81a986 A helm chart to install Binder
jupyterhub/binderhub 0.2.0-059.78bfbcd A helm chart to install Binder
jupyterhub/binderhub 0.2.0-028.9ba1fc3 A helm chart to install Binder
jupyterhub/binderhub 0.2.0-039.58fb2a0 A helm chart to install Binder
jupyterhub/binderhub 0.2.0-061.4221738 A helm chart to install Binder
jupyterhub/binderhub 0.2.0-018.0c62683 A helm chart to install Binder
jupyterhub/binderhub 0.2.0-056.8c51534 A helm chart to install Binder
jupyterhub/binderhub 0.2.0-051.99305a6 A helm chart to install Binder
jupyterhub/binderhub 0.2.0-0216360 A helm chart to install Binder
jupyterhub/binderhub 0.2.0-068.0b5080a A helm chart to install Binder
jupyterhub/binderhub 0.2.0-045.089702b A helm chart to install Binder
jupyterhub/binderhub 0.2.0-026.7c50358 A helm chart to install Binder
jupyterhub/binderhub 0.2.0-004.9756642 A helm chart to install Binder
jupyterhub/binderhub 0.2.0-017.5aa671c A helm chart to install Binder
jupyterhub/binderhub 0.2.0-069.dbffec6 A helm chart to install Binder
When trying to install version 0.2.0-068.0b5080a
using helm install '--version=0.2.0-068.0b5080a' '--namespace=cert-manager' -f '/var/folders/_k/g6547cr924b2vw4b_w61lfym0000gn/T/ansible.fzu39_4jbinderhub-config.yaml' 'hub' 'jupyterhub/binderhub'
, I get
Error: failed to download "jupyterhub/binderhub" (hint: runninghelm repo updatemay help).
When trying to install version 0.2.0-9994a92
, everything works as expected. But anything using a different format (e.g., ‘–version=0.2.0-068.0b5080a’) does not work.
When NOT specifying a --version
but --devel
, it installs the chart w/o error message but helm list --all-namespaces
does not show an app version:
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
hub cert-manager 1 2020-02-02 10:57:58.486209 +0100 CET deployed binderhub-0.2.0-n079.h351d336
What puzzles me is that binderhub-0.2.0-n079.h351d336
is not listed in the above list of versions.
Running helm install '--version=0.2.0-n079.h351d336' '--namespace=cert-manager' -f '/var/folders/_k/g6547cr924b2vw4b_w61lfym0000gn/T/ansible.fzu39_4jbinderhub-config.yaml' 'hub' 'jupyterhub/binderhub'
works…
Any ideas? Am I missing something obvious?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (5 by maintainers)
Top GitHub Comments
@consideRatio This is the case. Running
helm install '--version=0.2.0-n079.h351d336' '--namespace=cert-manager' -f '/var/folders/_k/g6547cr924b2vw4b_w61lfym0000gn/T/ansible.fzu39_4jbinderhub-config.yaml' 'hub' 'jupyterhub/binderhub'
works…@consideRatio just for your reference: using helm v3, the command is
helm search repo jupyterhub/binderhub --devel -l
.For me
helm search repo jupyterhub/binderhub --devel -l | grep "\\-n"
yields the following output:Now, this makes sense to me.