Add helm-binary opt to delete command

This commit is contained in:
hori-ryota 2018-07-04 22:10:17 +09:00
parent fa0ff32b00
commit 7f37c6b39f
1 changed files with 4 additions and 0 deletions

View File

@ -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)
})
},