kuberneteskubernetes-helmmicrok8s

helm3 / function "lookup" not defined


I recently installed microk8s, and enabled helm3 and dns addons on microk8s. Deployment from stable/chart works fine but any deployment from bitnami/chart fails.

OS: Ubuntu 20.04.1 LTS -- microk8s: 1.19/stable

microk8s.helm3 install my-release bitnami/jenkins
=> Error: parse error at (jenkins/charts/common/templates/_secrets.tpl:84): function "lookup" not defined

microk8s.helm3 install my-release bitnami/magento
=> Error: parse error at (magento/charts/elasticsearch/charts/common/templates/_secrets.tpl:84): function "lookup" not defined

Solution

  • There was a bug reported here and here which was caused by the conditional inclusion of lookup into the function map.

    A fix for it was merged here and is now available from Helm version 3.2.0.

    So, in order to fix this issue you should update your Helm to version 3.2.0 or newer.