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 3 is not possible to install dependent charts by executing helm install with --dependent-update on a local chart file #7857
With helm 3.1.2, when run helm install with --dependent-update on a local chart file, it install target chart but does not install dependent charts.
If you run helm install after running helm dependency update it will install all the resources which include dependent charts. So, I think this is a bug of --dependent-update option.
How to reproduce
Create chart files locally
ex. run helm create sample
It doesn't matter chart's apiVersion (v1 or v2 either is fine)
Set at least one dependency
When using helm v2, add dependencies into requirements.yaml
When using helm v3, add dependencies into Chart.yaml
Run helm install with --dependency-update using helm v3
ex. run helm install --dependency-update sample ./sample
When run helm install, it is needed to be in a state of unresolved dependency
The point is that the requirements.lock and Chart.lock does not exist
I'm suggesting that Helm 2 and Helm 3 behave differently.
With Helm 2, running helm install --dep-up . installs all charts, including charts those depend on.
However, with Helm 3, running helm install --dependency-update test . does not install the dependent charts.
I'm expecting that Helm 3 will install all the charts, including charts those depend on, just as Helm 2 did.
I'm working on reproducing this. I seem to be getting an error, but it is still not working as desired:
$ helm3 install --dependency-update issue7857 _scratch/issue7857Hang tight while we grab the latest from your chart repositories......Successfully got an update from the "brigade" chart repository...Successfully got an update from the "stable" chart repositoryUpdate Complete. ⎈Happy Helming!⎈Error: directory /Users/technosophos/Code/Go/src/helm.sh/helm/_scratch/issue7857/charts/stable/chartmuseum not found
Activity
technosophos commentedon Apr 6, 2020
Are you suggesting that Helm 2 and Helm 3 behave differently, or that both are doing something you did not expect?
ryu-sato commentedon Apr 7, 2020
I'm suggesting that Helm 2 and Helm 3 behave differently.
With Helm 2, running
helm install --dep-up .installs all charts, including charts those depend on.However, with Helm 3, running
helm install --dependency-update test .does not install the dependent charts.I'm expecting that Helm 3 will install all the charts, including charts those depend on, just as Helm 2 did.
technosophos commentedon Apr 9, 2020
Thank you for the clarification. I will look into this.
technosophos commentedon Apr 9, 2020
I'm working on reproducing this. I seem to be getting an error, but it is still not working as desired:
I'll continue working on this.
technosophos commentedon Apr 9, 2020
Okay, spoke too soon. The above error was a typo on my part.
Update: Okay, now I am able to reproduce the error.