Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MYSQL Helm chart - function "lookup" not defined #5205

Closed
entrymon opened this issue Jan 23, 2021 · 3 comments
Closed

MYSQL Helm chart - function "lookup" not defined #5205

entrymon opened this issue Jan 23, 2021 · 3 comments

Comments

@entrymon
Copy link

Which chart:
MySQL chart

Describe the bug
Copied latest values.yaml and added password in it from repo - https://github.com/bitnami/charts/blob/master/bitnami/mysql/values.yaml

helm install mysql bitnami/mysql -f mysql-values.yaml --namespace=default

To Reproduce
Copied latest values
try install repo

Expected behavior
helm chart should have got deployed

Version of Helm and Kubernetes:
Using latest microk8s having k8s - Major:"1", Minor:"19+", GitVersion:"v1.19.5-34+8af48932a5ef06"
Using microk8s helm versions - version.BuildInfo{Version:"v3.0.2"

Additional context
Error on console

Error: parse error at (mysql/charts/common/templates/_secrets.tpl:84): function "lookup" not defined
helm.go:76: [debug] parse error at (mysql/charts/common/templates/_secrets.tpl:84): function "lookup" not defined

@vyshkov
Copy link

vyshkov commented Jan 24, 2021

same issue on kafka helm chart

@Pagten
Copy link

Pagten commented Jan 24, 2021

Also occurring on the wordpress chart.

The culprit seems to be PR #5156, which refers to PR #5091, which updates the minimum supported helm version to v3.1. Hence the behavior is expected and the helm version we're using is simply too old.

The latest wordpress chart version that still works for me is 10.4.1

@andresbono
Copy link
Contributor

Hi all, as @Pagten mentioned, you would need to update your helm version to 3.1 to install the chart as notified in #5091.

This is a reported issue that has been discussed in #5032. I'll be closing this issue given that there is already an open one. Please refer to it if you need further help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants