From e72b50236722f1f3f1c462766bb83b771421e024 Mon Sep 17 00:00:00 2001 From: sakshisharma84 Date: Thu, 30 Nov 2023 16:21:21 -0500 Subject: [PATCH] remove the condition boundlessv1alpha1.TypeComponentAvailable --- controllers/manifest_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/manifest_controller.go b/controllers/manifest_controller.go index 3f8290d0..a47234fa 100644 --- a/controllers/manifest_controller.go +++ b/controllers/manifest_controller.go @@ -131,7 +131,7 @@ func (r *ManifestReconciler) Reconcile(ctx context.Context, req ctrl.Request) (c return ctrl.Result{}, nil } - if (existing.Spec.Checksum != existing.Spec.NewChecksum) && (existing.Spec.NewChecksum != "") && (existing.Status.Type != boundlessv1alpha1.TypeComponentAvailable) { + if (existing.Spec.Checksum != existing.Spec.NewChecksum) && (existing.Spec.NewChecksum != "") { // Update is required logger.Info("checksum differs, update needed", "Checksum", existing.Spec.Checksum, "NewChecksum", existing.Spec.NewChecksum) // First, update the checksum to avoid any reconciliation