Add helm-binary opt to delete command
This commit is contained in:
parent
fa0ff32b00
commit
7f37c6b39f
4
main.go
4
main.go
|
|
@ -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)
|
||||
})
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue