Skip to content

Commit 41bb27d

Browse files
committed
fix: fix ControlPlane status update
1 parent 9ba3969 commit 41bb27d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

controller/controlplane/controller.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,11 @@ func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Resu
413413

414414
return r.initStatusToWaitingToBecomeReady(ctx, logger, cp)
415415
}
416+
417+
// Ensure the status reflects the current config even when the hash matches.
418+
// This handles cases where the status was not yet updated (e.g., after an update
419+
// to the spec that changed controllers/feature gates).
420+
r.ensureControlPlaneStatus(cp, mgrCfg)
416421
}
417422

418423
markAsProvisioned(cp)

0 commit comments

Comments
 (0)