rancher / charts-build-scripts

Apache License 2.0
9 stars 32 forks source link

Fix bug in the auto-generation of the dependency.yaml #51

Closed aiyengar2 closed 3 years ago

aiyengar2 commented 3 years ago

When a local directory is specified, the last location in the path should be replaced by dependencyName instead of appending dependencyName. At the current moment, this would result in something like file://./charts/gitjob => charts/gitjob/gitjob instead of charts/gitjob.

https://github.com/rancher/charts-build-scripts/blob/020c08a227c7c23009123bb1bfbf41e583c25f01/pkg/charts/dependencies.go#L142