Revert "fix(operator): requeue packages when dependencies are not ready"
This reverts commit f906a0d8ad.
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
This commit is contained in:
parent
f906a0d8ad
commit
2b60c010dd
1 changed files with 2 additions and 3 deletions
|
|
@ -20,7 +20,6 @@ import (
|
|||
"context"
|
||||
"fmt"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
cozyv1alpha1 "github.com/cozystack/cozystack/api/v1alpha1"
|
||||
helmv2 "github.com/fluxcd/helm-controller/api/v2"
|
||||
|
|
@ -142,8 +141,8 @@ func (r *PackageReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ct
|
|||
if err := r.Status().Update(ctx, pkg); err != nil {
|
||||
return ctrl.Result{}, err
|
||||
}
|
||||
// Requeue to periodically recheck dependencies in case watch events are missed
|
||||
return ctrl.Result{RequeueAfter: 30 * time.Second}, nil
|
||||
// Return success to avoid requeue, but don't create HelmReleases
|
||||
return ctrl.Result{}, nil
|
||||
}
|
||||
|
||||
// Create HelmReleases for components with Install section
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue