mirror of
https://github.com/helm/chart-testing.git
synced 2026-02-05 09:45:14 +01:00
feat: add --wait flag to helm uninstall (#721)
Signed-off-by: Artur Shad Nik <arturshadnik@gmail.com>
This commit is contained in:
@@ -91,7 +91,7 @@ func (h Helm) Test(namespace string, release string) error {
|
||||
|
||||
func (h Helm) DeleteRelease(namespace string, release string) {
|
||||
fmt.Printf("Deleting release %q...\n", release)
|
||||
if err := h.exec.RunProcess("helm", "uninstall", release, "--namespace", namespace, h.extraArgs); err != nil {
|
||||
if err := h.exec.RunProcess("helm", "uninstall", release, "--namespace", namespace, "--wait", h.extraArgs); err != nil {
|
||||
fmt.Println("Error deleting Helm release:", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user