diff --git a/controllers/imageupdateautomation_controller.go b/controllers/imageupdateautomation_controller.go index b3a6b123..e0941c01 100644 --- a/controllers/imageupdateautomation_controller.go +++ b/controllers/imageupdateautomation_controller.go @@ -296,7 +296,9 @@ func (r *ImageUpdateAutomationReconciler) Reconcile(ctx context.Context, req ctr var signingEntity *openpgp.Entity if gitSpec.Commit.SigningKey != nil { - signingEntity, err = r.getSigningEntity(ctx, auto) + if signingEntity, err = r.getSigningEntity(ctx, auto); err != nil { + failWithError(err) + } } // construct the commit message from template and values