You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be clear what Files.Glob is returning: list, map, object, etc. Each documentation page is inconsistent with the others, so much so that I had to look into the source code to determine what Files.Glob actually returns
If Files.Glob returns a name:content map, why not use content directly, instead of using .Files.Get($name) like:
First, https://helm.sh/docs/chart_template_guide/builtin_objects/ says:
Second, https://helm.sh/docs/chart_template_guide/accessing_files/#glob-patterns says:
Also, some examples are given, one of them:
Third, looking at the source code https://github.com/helm/helm/blob/main/pkg/engine/files.go#L71-L88 in the Glob function doc, a similar example is given:
My comments are:
The text was updated successfully, but these errors were encountered: