You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now components that use helm charts from a localPath are required to specify the version as well. This is redundant since the chart obviously has a chart version in the Chart.yaml file. What is worse is that the version specified below can be different than the chart which is at best misleading.
- name: splashlocalPath: ../charts/splashversion: "0.0.1"# THIS SHOULD NOT BE REQUIRED WHEN localPath IS SPECIFIEDnamespace: defaultvaluesFiles:
- splash-values.yaml
The text was updated successfully, but these errors were encountered:
I agree that there is a disconnect between the requirement and the accuracy (of allowing any entry in that field).
I'll toss up a quick PR - I think using the required Chart.yaml version improves provenance here - the outlier being when the declared version in the ZarfPackageConfig does not match the actual version - we should probably warn.
As seen in the PR's first commit - attempted to use the loaded chart version as the version - but this creates an issue on deploy where deploy is looking for a specifically versioned chart tarball to load.
Chart names are required to be unique in the ZarfPackageConfig and therefor I believe we could drop the version when not supplied.
This then influences my stance to say we should error on create when version specified does not match the actual version.
Right now components that use helm charts from a localPath are required to specify the version as well. This is redundant since the chart obviously has a chart version in the Chart.yaml file. What is worse is that the version specified below can be different than the chart which is at best misleading.
The text was updated successfully, but these errors were encountered: