Commit 4d579bbb authored by rocky's avatar rocky Committed by 徐海刚

Fix(helm): fix the bug of the charts not deployed after downloaded

in helm install --dep-up

helm install --dep-up does not deploy the charts downloaded by itself.
I reload the charts path after downloading the missing charts.

Closes #3423
parent 00733bcd
...@@ -258,6 +258,12 @@ func (i *installCmd) run() error { ...@@ -258,6 +258,12 @@ func (i *installCmd) run() error {
if err := man.Update(); err != nil { if err := man.Update(); err != nil {
return prettyError(err) return prettyError(err)
} }
// Update all dependencies which are present in /charts.
chartRequested, err = chartutil.Load(i.chartPath)
if err != nil {
return prettyError(err)
}
} else { } else {
return prettyError(err) return prettyError(err)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment