-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Going back to one of the proposals in #24
Proposed change
Allow chartpress to be run from a different folder than that where the Helm chart are stored.
Alternative options
In some version before 1.0 it was possible to specify the name
of a chart by including the folder where it is placed w.r.t. the chartpress config file (e.g. helm-chart/name-of-my-chart
), however with the introduction of the version checking when publishing this is no longer possible as the "name" of the chart in the config (containing the folder) does not mach the name of the published chart.
Who would use this feature?
Anyone that want to be able to run chartpress from the root of a repository where the chart(s) are stored in a subfolder, which is a reasonable structure for any repository that holds both the code of an application and its Helm chart.
(Optional): Suggest a solution
This could be achieved by allowing an optional parameter in the configuration file to specify a path where to find the Helm charts and then simply have chartpress use that as cwd
.
If there is consensus about this request and the proposed implementation I might be able to open a PR myself to address it.