@@ -115,7 +115,7 @@ type Operator struct {
115
115
type CatalogSourceSyncFunc func (logger * logrus.Entry , in * v1alpha1.CatalogSource ) (out * v1alpha1.CatalogSource , continueSync bool , syncError error )
116
116
117
117
// NewOperator creates a new Catalog Operator.
118
- func NewOperator (ctx context.Context , kubeconfigPath string , clock utilclock.Clock , logger * logrus.Logger , resync time.Duration , configmapRegistryImage , utilImage string , operatorNamespace string , scheme * runtime.Scheme , installPlanTimeout time.Duration , bundleUnpackTimeout time.Duration ) (* Operator , error ) {
118
+ func NewOperator (ctx context.Context , kubeconfigPath string , clock utilclock.Clock , logger * logrus.Logger , resync time.Duration , configmapRegistryImage , opmImage , utilImage string , operatorNamespace string , scheme * runtime.Scheme , installPlanTimeout time.Duration , bundleUnpackTimeout time.Duration ) (* Operator , error ) {
119
119
resyncPeriod := queueinformer .ResyncWithJitter (resync , 0.2 )
120
120
config , err := clientcmd .BuildConfigFromFlags ("" , kubeconfigPath )
121
121
if err != nil {
@@ -351,7 +351,7 @@ func NewOperator(ctx context.Context, kubeconfigPath string, clock utilclock.Clo
351
351
bundle .WithPodLister (podInformer .Lister ()),
352
352
bundle .WithRoleLister (roleInformer .Lister ()),
353
353
bundle .WithRoleBindingLister (roleBindingInformer .Lister ()),
354
- bundle .WithOPMImage (configmapRegistryImage ),
354
+ bundle .WithOPMImage (opmImage ),
355
355
bundle .WithUtilImage (utilImage ),
356
356
bundle .WithNow (op .now ),
357
357
bundle .WithUnpackTimeout (op .bundleUnpackTimeout ),
0 commit comments