From 7f37c6b39f8d47fdbd0f1a67097a4f18fe5643b5 Mon Sep 17 00:00:00 2001 From: hori-ryota Date: Wed, 4 Jul 2018 22:10:17 +0900 Subject: [PATCH] Add helm-binary opt to delete command --- main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.go b/main.go index cf8ace79..0aca86af 100644 --- a/main.go +++ b/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) }) },