Skip to content

Commit 2af5e23

Browse files
authored
feat: add --wait flag to helm uninstall (#721)
Signed-off-by: Artur Shad Nik <arturshadnik@gmail.com>
1 parent 3f428cd commit 2af5e23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/tool/helm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func (h Helm) Test(namespace string, release string) error {
9191

9292
func (h Helm) DeleteRelease(namespace string, release string) {
9393
fmt.Printf("Deleting release %q...\n", release)
94-
if err := h.exec.RunProcess("helm", "uninstall", release, "--namespace", namespace, h.extraArgs); err != nil {
94+
if err := h.exec.RunProcess("helm", "uninstall", release, "--namespace", namespace, "--wait", h.extraArgs); err != nil {
9595
fmt.Println("Error deleting Helm release:", err)
9696
}
9797
}

0 commit comments

Comments
 (0)