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
4
Answers
Try to install helm3 with snap and then link it to microk8s:
There seems to be some issues using helm3.0 instead of helm 3.1
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.
Faced with the same issue while installing Kafka. The solution is to install a newer version of Helm 3 and use its commands with –kubeconfig specified:
thanks for all of the information
I fixed this by using the snap helm (version 3.6.3) on ubuntu
then doing the helm repo add, update, and install charts without errors