Commit 7c0300f 1 parent dedffc0 commit 7c0300f Copy full SHA for 7c0300f
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:"wait,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 @@ -506,6 +506,10 @@ spec:
506
506
operation (like Jobs for hooks) during the performance of a
507
507
Helm uninstall action. Defaults to 'HelmReleaseSpec.Timeout'.
508
508
type : string
509
+ wait :
510
+ description : DisableWait disables the waiting for resources to
511
+ be deleted before finalizing the Helm Release.
512
+ type : boolean
509
513
type : object
510
514
upgrade :
511
515
description : Upgrade holds the configuration for Helm upgrade actions
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 >wait</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