helm/pkg/chart/loader
Taylor Jasko 6f2f7d4781 Updating subchart load error to be more descriptive
In the event some malformed folders/files make its way into the
`charts/` directory meant for subcharts, it is possible one may see an
error message like the below:
```
Error: error unpacking foo in app: Chart.yaml file is missing
```

This error is not very descriptive, as it doesn't reference where on
disk `Chart.yaml` is missing. In the event this happens, this error is
being updated to include that `Chart.yaml` is missing for the `foo`
subchart.

Without this updated error messaging, one would need to look into Helm's
codebase to troubleshoot what exactly is wrong.

Signed-off-by: Taylor Jasko <taylor@taylorjasko.com>
2024-11-06 17:40:18 -06:00
..
testdata fix(*): remove bom in utf files when loading chart files (#6081) 2020-04-23 14:56:26 +02:00
archive.go Grammar fixes 2024-09-14 10:30:31 +10:00
archive_test.go Fixing all the linting errors 2024-03-11 17:13:34 -04:00
directory.go Make the ignore pkg public again 2023-12-22 09:14:12 +02:00
load.go Updating subchart load error to be more descriptive 2024-11-06 17:40:18 -06:00
load_test.go Updating the Go version in go.mod 2023-03-22 11:52:30 -04:00