Skip to content

Commit b030304

Browse files
committed
fix(olm): don't annotate namespaces on operator creation
instead let the standard apimachinary take care of calling syncNamespace
1 parent 532155d commit b030304

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pkg/controller/operators/olm/operator.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,6 @@ func NewOperator(crClient versioned.Interface, opClient operatorclient.ClientInt
8686
op.RegisterQueueInformer(queueInformer)
8787
}
8888

89-
// annotate namespaces that ALM operator manages
90-
if err := namespaceAnnotator.AnnotateNamespaces(namespaces); err != nil {
91-
return nil, err
92-
}
93-
9489
// set up RBAC informers
9590
informerFactory := informers.NewSharedInformerFactory(opClient.KubernetesInterface(), wakeupInterval)
9691
roleInformer := informerFactory.Rbac().V1().Roles()

0 commit comments

Comments
 (0)