Bug 1685647

Summary: [marketplace] Operator has unnecessary ClusterRoles
Product: OpenShift Container Platform Reporter: Aravindh Puthiyaparambil <aravindh>
Component: OLMAssignee: Aravindh Puthiyaparambil <aravindh>
Status: CLOSED ERRATA QA Contact: Fan Jia <jfan>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.1.0   
Target Milestone: ---   
Target Release: 4.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Moving to using grpc CatalogSources, the operator is dealing with more resources like `Services` and `Deployments`. Initially there were being created in a different namespace that required a `ClusterRole`. But the final implementation saw the resources being created in the same namespace. Consequence: Operator has unnecessary ClusterRoles Fix: Add a regular Role and RoleBinding for grpc resources Result: Operator now has the correct Roles and ClusterRoles
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-04 10:45:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Aravindh Puthiyaparambil 2019-03-07 17:59:48 UTC
https://github.com/operator-framework/operator-marketplace/pull/127

Comment 2 Fan Jia 2019-03-11 08:28:04 UTC
the lastest accepted clusterversion is:4.0.0-0.nightly-2019-03-06-074438 
the marketplace's commit is "aabac93da42773f29c4230bd8b7906facc6c42f9" (doesn't include this pr) 
will test after this pr is included

Comment 5 errata-xmlrpc 2019-06-04 10:45:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:0758