diff --git a/pkg/resources/model/reconciler.go b/pkg/resources/model/reconciler.go index c88c4b998..f9563d080 100644 --- a/pkg/resources/model/reconciler.go +++ b/pkg/resources/model/reconciler.go @@ -277,7 +277,8 @@ func NewValidationReconciler( continue } - if err := repo.Status().Patch(ctx, req.Obj, req.Patch); err != nil { + obj := req.Obj.DeepCopyObject().(client.Object) // copy object so that the original is not changed by the call to Patch + if err := repo.Status().Patch(ctx, obj, req.Patch); err != nil { errs = errors.Append(errs, err) } }