-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
can't evaluate field Release in type []interface {} #5
Comments
@cch0 does |
Helm version
|
hmm, I'm not sure why .Release would be empty. @bacongobbler have you seen this before? |
Can't say that I have, no :S |
I'm also using that version of Helm, 2.10.0 and when I use {{ .Release.Name }} in a particular spot, I get a similar error: Had to work around it by defining $releaseName at the top of the file and using that instead: |
@cfedersp |
This is what I did.
1. Followed the instruction to create a new chart
helm create mychart
2. add common
cd mychart/charts
helm fetch common/common
Note that the last command (helm fetch) is different from what is described in the instruction. If I used
helm fetch common
I then got
Error: Non-absolute URLs should be in form of repo_name/path_to_chart, got: common
3. add a some.yaml file under mychart/templates/
4. ran this command
helm template --name myrelease mychart
and then got
Error: render error in "mychart/templates/some.yaml": template: mychart/charts/common/templates/_common.tpl:17:27: executing "common.fullname" at <.Release.Name>: can't evaluate field Release in type []interface {}
Question:
Where did I do wrong?
The text was updated successfully, but these errors were encountered: