allow upgrades even if an upgrade is in progress

This commit is contained in:
Malte Poll 2023-06-05 08:46:40 +02:00
parent 94d5b251f2
commit 9c4e2363f9

View File

@ -293,7 +293,8 @@ func (u *Upgrader) checkClusterStatus(ctx context.Context) (updatev1alpha1.NodeV
}
if upgradeInProgress(nodeVersion) {
return updatev1alpha1.NodeVersion{}, ErrInProgress
u.log.Debugf("Upgrade is in progress but allowing anyway.")
// return updatev1alpha1.NodeVersion{}, ErrInProgress
}
return nodeVersion, nil