Skip to content

Commit cee24d3

Browse files
remove csv phase check (#854)
Signed-off-by: YCShen1010 <[email protected]> Signed-off-by: YCShen1010 <[email protected]> Co-authored-by: YCShen1010 <[email protected]>
1 parent 052e7b9 commit cee24d3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

controllers/operandrequest/reconcile_operand.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,6 @@ func (r *Reconciler) reconcileOperand(ctx context.Context, requestInstance *oper
153153
klog.Warningf("ClusterServiceVersion for the Subscription %s in the namespace %s is not ready yet, retry", operatorName, namespace)
154154
requestInstance.SetMemberStatus(operand.Name, operatorv1alpha1.OperatorInstalling, "", &r.Mutex)
155155
continue
156-
157-
//Check csv status
158-
} else if csv.Status.Phase != olmv1alpha1.CSVPhaseSucceeded {
159-
klog.Warningf("ClusterServiceVersion %s phase is not succeeded in the namespace %s yet, retry", csv.Name, csv.Namespace)
160-
requestInstance.SetMemberStatus(operand.Name, operatorv1alpha1.OperatorInstalling, "", &r.Mutex)
161-
continue
162156
}
163157

164158
klog.V(3).Info("Generating customresource base on ClusterServiceVersion: ", csv.GetName())

0 commit comments

Comments
 (0)