Mark complete after upgrade success
This commit is contained in:
@@ -258,7 +258,8 @@ func shouldProcessProgress(osup *monov1alpha1.OSUpgradeProgress) bool {
|
||||
|
||||
switch osup.Status.Phase {
|
||||
case "",
|
||||
monov1alpha1.OSUpgradeProgressPhasePending:
|
||||
monov1alpha1.OSUpgradeProgressPhasePending,
|
||||
monov1alpha1.OSUpgradeProgressPhaseRebooting:
|
||||
return true
|
||||
case monov1alpha1.OSUpgradeProgressPhaseFailed:
|
||||
return osup.Spec.RetryNonce != osup.Status.ObservedRetryNonce
|
||||
|
||||
Reference in New Issue
Block a user