-
Epic
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
Simplify RBAC for Shared Resources
-
False
-
-
False
-
Not Selected
-
To Do
-
SECFLOWOTL-227 - Improve RHEL Subscription Content Experience for Builds
Epic Goal
Simplify the Shared Resources RBAC experience so that cluster admins do not need to create nearly as many (Cluster)Roles and RoleBindings.
Why is this important?
The current procedure to set up a SharedSecret or SharedConfigMap requires cluster admins to create multiple RBAC objects in sequence - namely:
- Create ClusterRole to use the resource
- Create Role/RoleBinding for Shared Resource CSI Driver to access the underlying Secret/ConfigMap
- Create RoleBinding for service accounts.
Of these, the first two can absolutely be managed by a separate controller for SharedSecret/SharedConfigMap objects. For item 3, we can extend the SharedSecret/SharedConfigMap API to let customers aggregate the generated ClusterRole to a user-facing role. For example, aggregate the entitlement secret access to the "edit" or "admin" user-facing roles.
Scenarios
- As a cluster admin, I want Builds for OpenShift to create a ClusterRole for any SharedSecret and SharedConfigMap object so that it is easier for platform teams/namespace admins to use a Shared resource object in a workload
- As a cluster admin, I want Builds for OpenShift to create the Role/RoleBinding for the Shared Resource CSI driver so that I reduce toil maintaining SharedSecret and SharedConfigMap objects.
- As a cluster admin, I want managed RBAC for Shared Resources to work with existing RBAC I created by hand in prior releases.
- As a cluster admin, I want to aggregate the ClusterRole for shared secrets to user-facing roles on my cluster, so that I do not need to create RoleBindings for every user and service account that needs it.
Acceptance Criteria (Mandatory)
- CI - MUST be running successfully with tests automated
- Release Technical Enablement - Provide necessary release enablement details and documents.
- ...
Dependencies (internal and external)
- ...
Previous Work (Optional):
- …
Open questions::
- …
Done Checklist
- Acceptance criteria are met
- Non-functional properties of the Feature have been validated (such as performance, resource, UX, security or privacy aspects)
- User Journey automation is delivered
- Support and SRE teams are provided with enough skills to support the feature in production environment
- is related to
-
BUILD-1206 Shared Resources Silently Fails to Mount Content
-
- Closed
-