Always wait for a helm release to be uninstalled completely
Enables wait=true and sets timeout to 300s. Change-Id: I6e6e634c28b5fb2568ff83ff350ef22792d47e6b Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
This commit is contained in:
parent
2c196b3075
commit
c2b3a0cbc3
@ -142,6 +142,8 @@ func (r *Runner) Uninstall(ac armadav1.ArmadaChart) error {
|
|||||||
defer r.logBuffer.Reset()
|
defer r.logBuffer.Reset()
|
||||||
|
|
||||||
uninstall := action.NewUninstall(r.config)
|
uninstall := action.NewUninstall(r.config)
|
||||||
|
uninstall.Wait = true
|
||||||
|
uninstall.Timeout = time.Duration(int64(time.Second) * 300)
|
||||||
|
|
||||||
_, err := uninstall.Run(ac.Name)
|
_, err := uninstall.Run(ac.Name)
|
||||||
return wrapActionErr(r.logBuffer, err)
|
return wrapActionErr(r.logBuffer, err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user