Skip to content

Commit

Permalink
use CSVPhaseSucceeded for copied CSVs
Browse files Browse the repository at this point in the history
  • Loading branch information
alecmerdler committed Dec 10, 2018
1 parent af566ee commit 0d50c3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controller/operators/olm/operatorgroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ func (a *Operator) copyCsvToTargetNamespace(csv *v1alpha1.ClusterServiceVersion,
log.Errorf("Create for new CSV failed: %v", err)
return err
}
createdCSV.Status.Phase = v1alpha1.CSVPhaseSucceeded
createdCSV.Status.Reason = v1alpha1.CSVReasonCopied
createdCSV.Status.Message = fmt.Sprintf("The operator is running in %s but is managing this namespace", csv.GetNamespace())
createdCSV.Status.LastUpdateTime = timeNow()
Expand Down

0 comments on commit 0d50c3e

Please sign in to comment.