error missing common.tplvalues.merge
Description
After a clean chart recursive clone using the link "helm lint" throws the following error, the chart cannot be installed:
[ERROR] templates/: template: glitchtip/charts/redis/templates/master/service.yaml:12:14: executing "glitchtip/charts/redis/templates/master/service.yaml" at : error calling include: template: glitchtip/charts/redis/charts/common/templates/_tplvalues.tpl:35:11: executing "common.tplvalues.merge" at : error calling include: template: glitchtip/templates/_tplvalues.tpl:10:12: executing "common.tplvalues.render" at : error calling tpl: cannot retrieve Template.Basepath from values inside tpl function: {}: "BasePath" is not a valu
What do you expect to see or happen. What happens instead?
Lint should not report crash error and should just indicate a missing SECRET_KEY:
engine.go:168: [INFO] Missing required value: env.secret.SECRET_KEY is a required value.
==> Linting .
1 chart(s) linted, 0 chart(s) failed
Proposed Solution(s)
It looks that there is a conflict between the templates/_tplvalues from the glitchtip and the one from the redis chart dependency. Copying the redis chart _version _tplvalues into the glitchtip file seems to solve the project. I do not know why the redis chart seems to be using the _tplvalues from the glichtip instead of theirs, the latter does not contain the merge include and the reder is different.