Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ func (c *K0sController) Reconcile(ctx context.Context, req ctrl.Request) (res ct
if derr != nil {
if !errors.Is(derr, errUpgradeNotCompleted) {
log.Error(derr, "Failed to update status")
// Schedule a requeue so the controller retries status update
if res.IsZero() {
res = ctrl.Result{RequeueAfter: 10 * time.Second}
}
return
}

Expand Down
Loading