mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-03 15:13:01 +02:00
Add helm-binary opt to delete command
This commit is contained in:
@@ -292,6 +292,10 @@ func main() {
|
||||
return eachDesiredStateDo(c, func(state *state.HelmState, helm helmexec.Interface) []error {
|
||||
purge := c.Bool("purge")
|
||||
|
||||
if c.GlobalString("helm-binary") != "" {
|
||||
helm.SetHelmBinary(c.GlobalString("helm-binary"))
|
||||
}
|
||||
|
||||
return state.DeleteReleases(helm, purge)
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user