Merge pull request #132 from fluxcd/disable-requeue
Do not requeue when chart is not ready
This commit is contained in:
commit
7ab3ed3a55
|
|
@ -226,7 +226,9 @@ func (r *HelmReleaseReconciler) reconcile(ctx context.Context, log logr.Logger,
|
|||
msg := fmt.Sprintf("HelmChart '%s/%s' is not ready", hc.GetNamespace(), hc.GetName())
|
||||
r.event(hr, hr.Status.LastAttemptedRevision, events.EventSeverityInfo, msg)
|
||||
log.Info(msg)
|
||||
return v2.HelmReleaseNotReady(hr, v2.ArtifactFailedReason, msg), ctrl.Result{Requeue: true}, nil
|
||||
// Do not requeue, when the artifact is created the watcher should trigger a
|
||||
// reconciliation.
|
||||
return v2.HelmReleaseNotReady(hr, v2.ArtifactFailedReason, msg), ctrl.Result{Requeue: false}, nil
|
||||
}
|
||||
|
||||
// Check dependencies
|
||||
|
|
|
|||
Loading…
Reference in New Issue