diff --git a/controllers/mysqluser_controller.go b/controllers/mysqluser_controller.go index 86e95ec3..33cb4c15 100644 --- a/controllers/mysqluser_controller.go +++ b/controllers/mysqluser_controller.go @@ -95,6 +95,7 @@ func (r *MySQLUserReconciler) Reconcile(ctx context.Context, req ctrl.Request) ( log.Error(err, "[FetchMySQL] Failed") mysqlUser.Status.Phase = mysqlUserPhaseNotReady mysqlUser.Status.Reason = mysqlUserReasonMySQLFetchFailed + r.Status().Update(ctx, mysqlUser) return ctrl.Result{}, client.IgnoreNotFound(err) } log.Info("[FetchMySQL] Found")