Commit 72ccc74 1 parent dedffc0 commit 72ccc74 Copy full SHA for 72ccc74
File tree 4 files changed +23
-0
lines changed
4 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -754,6 +754,11 @@ type Uninstall struct {
754
754
// release as deleted, but retain the release history.
755
755
// +optional
756
756
KeepHistory bool `json:"keepHistory,omitempty"`
757
+
758
+ // DisableWait disables the waiting for resources to be deleted before
759
+ // finalizing the Helm Release.
760
+ // +optional
761
+ DisableWait bool `json:"disableWait,omitempty"`
757
762
}
758
763
759
764
// GetTimeout returns the configured timeout for the Helm uninstall action, or
Original file line number Diff line number Diff line change @@ -497,6 +497,10 @@ spec:
497
497
description : DisableHooks prevents hooks from running during the
498
498
Helm rollback action.
499
499
type : boolean
500
+ disableWait :
501
+ description : DisableWait disables the waiting for resources to
502
+ be deleted before finalizing the Helm Release.
503
+ type : boolean
500
504
keepHistory :
501
505
description : KeepHistory tells Helm to remove all associated resources
502
506
and mark the release as deleted, but retain the release history.
Original file line number Diff line number Diff line change @@ -1755,6 +1755,19 @@ bool
1755
1755
release as deleted, but retain the release history.</p >
1756
1756
</td >
1757
1757
</tr >
1758
+ <tr >
1759
+ <td >
1760
+ <code >disableWait</code ><br >
1761
+ <em >
1762
+ bool
1763
+ </em >
1764
+ </td >
1765
+ <td >
1766
+ <em >(Optional)</em >
1767
+ <p >DisableWait disables the waiting for resources to be deleted before
1768
+ finalizing the Helm Release.</p >
1769
+ </td >
1770
+ </tr >
1758
1771
</tbody >
1759
1772
</table >
1760
1773
</div >
Original file line number Diff line number Diff line change @@ -375,6 +375,7 @@ func (r *Runner) Uninstall(hr v2.HelmRelease) error {
375
375
uninstall .Timeout = hr .Spec .GetUninstall ().GetTimeout (hr .GetTimeout ()).Duration
376
376
uninstall .DisableHooks = hr .Spec .GetUninstall ().DisableHooks
377
377
uninstall .KeepHistory = hr .Spec .GetUninstall ().KeepHistory
378
+ uninstall .Wait = ! hr .Spec .GetUninstall ().DisableWait
378
379
379
380
_ , err := uninstall .Run (hr .GetReleaseName ())
380
381
return wrapActionErr (r .logBuffer , err )
You can’t perform that action at this time.
0 commit comments