We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 134ccee commit 58f48dfCopy full SHA for 58f48df
pkg/controller/operators/olm/requirements.go
@@ -312,7 +312,7 @@ func (a *Operator) permissionStatus(strategyDetailsDeployment *v1alpha1.Strategy
312
} else {
313
permissionMet, err = permissionsPreviouslyCreated[*rbacv1.Role, *rbacv1.RoleBinding](
314
perm, csv,
315
- a.lister.RbacV1().RoleLister().List, a.lister.RbacV1().RoleBindingLister().List,
+ a.lister.RbacV1().RoleLister().Roles(namespace).List, a.lister.RbacV1().RoleBindingLister().RoleBindings(namespace).List,
316
)
317
}
318
if err != nil {
0 commit comments