diff --git a/pkg/controller/config/config_controller.go b/pkg/controller/config/config_controller.go index 3d39476480e..2bb0ea5d198 100644 --- a/pkg/controller/config/config_controller.go +++ b/pkg/controller/config/config_controller.go @@ -214,7 +214,7 @@ func (r *ReconcileConfig) Reconcile(ctx context.Context, request reconcile.Reque r.tracker.For(configGVK).Observe(instance) if deleted { - return reconcile.Result{}, r.deleteStatus(ctx, instance.GetName()) + return reconcile.Result{}, r.deleteStatus(ctx, request.Name) } return reconcile.Result{}, r.updateOrCreatePodStatus(ctx, instance) }