Skip to content

[BUG] HelmGenerator .Files producing wrong result #279

@cbarbian-sap

Description

@cbarbian-sap

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:

  1. Reference a helm chart with a non-empty chart path
  2. Try to use the .Files builtin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions