Skip to content

Commit a1123af

Browse files
dvaseekaraDaniel Vaseekaran
andauthored
[bug-fix] - Cluster Status Never Updated (#235)
Co-authored-by: Daniel Vaseekaran <red10447@adobe.com>
1 parent 58826d7 commit a1123af

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

controllers/kafkacluster_controller.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,6 @@ func (r *KafkaClusterReconciler) Reconcile(ctx context.Context, request ctrl.Req
197197
if err := k8sutil.UpdateRollingUpgradeState(r.Client, instance, time.Now(), log); err != nil {
198198
return requeueWithError(log, err.Error(), err)
199199
}
200-
// Don't transition to Running state while rolling upgrade is in progress
201-
// The state will be updated to Running by the kafka reconciler when the upgrade completes
202-
log.Info("Rolling upgrade in progress, keeping current state")
203-
return reconciled()
204200
}
205201

206202
if err := k8sutil.UpdateCRStatus(r.Client, instance, v1beta1.KafkaClusterRunning, log); err != nil {

0 commit comments

Comments
 (0)