pelotech / drone-helm3

Plugin for drone to deploy helm charts using helm3
Apache License 2.0
31 stars 36 forks source link

Implement an update_dependencies setting #25

Closed ErinCall closed 4 years ago

ErinCall commented 4 years ago

In plan.go's upgrade, lint, and uninstall functions, if config.UpdateDependencies is true, there should be an additional Step that calls helm dependency update $chart. It needs to happen before the main command, but I don't think it matters whether it happens before or after InitKube.

The UpdateDependencies struct will look like Lint, though a little simpler:

ErinCall commented 4 years ago

The draft documentation I'm writing for #8 mentions this setting but calls it out as "not yet implemented." Make sure that's updated as part of the work for this change.