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
{{ message }}
Repository navigation
helm dependency update complains about lack of version even when repository is not set #10095
# Chart.yamlapiVersion: v2appVersion: "0.1"description: A Helm chart for Kubernetesname: chart-bversion: 0.0.1dependencies:
- name: chart-acondition: chart-a.enabled
And my chart-a is under chart-b/charts/chart-a.
The following happens:
$ cd chart-a
$ helm dependency updateError: dependency "chart-a" has an invalid version/constraint format: improper constraint:
Nonetheless, if I put the version, the following happens:
$ helm dependency update
Saving 1 charts
Dependency chart-a did not declare a repository. Assuming it exists in the chart directory
Deleting outdated charts
As it is stated in the output, as repository is not set, helm correctly assumes that we are managing the charts/chart-a by ourselves. Thus, it is redundant for checking the presence of version when repository is not set.
It is even a problem because when we bump the version of the chart-a, now it needs to be bumped in chart-b as well, even though the dependency is directly linked on the file system.
Reacted by Jade Ferreira Vieira, pwillis-eiq and crabique
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
Activity
Make `version` optional for local chart dependencies
Make `version` optional for local chart dependencies
felipecrs commentedon Sep 15, 2021
The workaround for this issue is to write the dependencies like so:
So that, no specific version is specified, and
helm dep updoes not fail.github-actions commentedon Dec 15, 2021
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
felipecrs commentedon Dec 16, 2021
I would appreciate some feedback on this...
github-actions commentedon Mar 17, 2022
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
Make `version` optional for local chart dependencies