We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
include
I'm trying to get the major version of my chart and I've tried the following;
{{ regexReplaceAllLiteral "^(\d+)\.\d+\.\d+$" (template "chart.version" .) "${1}" }}
resulting in;
Error generating gotemplates for chart .: template: .:19: invalid syntax
{{ regexReplaceAllLiteral "^(\d+)\.\d+\.\d+$" (include "chart.version" .) "${1}" }}
resulting in the same error.
Trying to narrow it down I tried;
{{- $version := template "chart.version" . }}
Error generating gotemplates for chart .: template: .:19: unexpected <template> in command
At last I tried;
{{- $version := include "chart.version" . }}
Error generating gotemplates for chart .: template: .:19: function "include" not defined
How can we work with the templates you supply us?
I'm actually confused why you added sprig if we have nothing to use it with? Therefore I'm also thinking that I might have missed something 😅
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I'm trying to get the major version of my chart and I've tried the following;
resulting in;
resulting in the same error.
Trying to narrow it down I tried;
resulting in;
At last I tried;
resulting in;
How can we work with the templates you supply us?
I'm actually confused why you added sprig if we have nothing to use it with? Therefore I'm also thinking that I might have missed something 😅
The text was updated successfully, but these errors were encountered: