Describe the bug
The .Files builtin of HelmGenerator does not work correctly if a chart path other than "." or "" is used.
In that case, first all files in the provided fsys are scanned, instead of only those under the given chartPath; second, stored paths are relative to the given fsys, but they should be relative to the given chartPath.
Tested with Version
v0.3.91
To Reproduce
Steps to reproduce the behavior:
- Reference a helm chart with a non-empty chart path
- Try to use the
.Files builtin
Describe the bug
The
.Filesbuiltin ofHelmGeneratordoes not work correctly if a chart path other than "." or "" is used.In that case, first all files in the provided
fsysare scanned, instead of only those under the givenchartPath; second, stored paths are relative to the givenfsys, but they should be relative to the givenchartPath.Tested with Version
v0.3.91
To Reproduce
Steps to reproduce the behavior:
.Filesbuiltin