'JupyterHub Helm install: function "dig" not defined
I tried installing JupyterHub 1.0.1 using Helm 3.4.0, but get this error about a dig function.
"jupyterhub" already exists with the same configuration, skipping
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "jupyterhub" chart repository
Update Complete. ⎈Happy Helming!⎈
Release "jupyterhub" does not exist. Installing it now.
Error: parse error at (jupyterhub/templates/hub/_helpers-passwords.tpl:35): function "dig" not defined
Solution 1:[1]
The solution is to upgrade Helm. I upgraded to 3.6.2 and don't get the error. I believe dig is a Go template function which does not exist in earlier versions.
Solution 2:[2]
If you have Helm version 3.3 and less, then you might face this issue, as dig tool was added to it later to this version. Try upgrading helm to the latest version
Below is the procedure to upgrade helm on LINUX machine
$ wget https://get.helm.sh/helm-v3.8.0-linux-amd64.tar.gz
$ tar -zxvf helm-v3.8.0-linux-amd64.tar.gz
$ mv linux-amd64/helm /usr/local/bin/helm
$ chmod 700 /usr/local/bin/helm
$ exec $SHELL
$ helm version
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | luds |
| Solution 2 |
