Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[epic] Help admins determine necessary permissions for bundle lifecycling #919

Open
joelanford opened this issue Jun 11, 2024 · 0 comments
Labels
epic v1.x Issues related to OLMv1 features that come after 1.0

Comments

@joelanford
Copy link
Member

After we implement #737, users will need to provide their own service accounts that have the permissions necessary to manage the lifecycle of a bundle.

The service account needs CRUD on each group resource of each unique object in the bundle

  • If there are any ClusterRoles, Roles, ClusterRoleBindings, and/or RoleBindings, the service account additionally needs:
    • Either escalate/bind to allow the service account to create permissions it itself does not have
    • OR permissions that match the permissions that are granted by the RBAC in the bundle.

There are some technical challenges here:

  1. The bundle must be pulled, extracted, and rendered in order to see what would be deployed.
  2. User input from [epic] ClusterExtension parameters passed through to templating engine #381 will cause the contents of the rendered manifest to be configurable, potentially resulting in a different set of RBAC required.
@joelanford joelanford added epic v1.x Issues related to OLMv1 features that come after 1.0 labels Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic v1.x Issues related to OLMv1 features that come after 1.0
Projects
Status: No status
Development

No branches or pull requests

1 participant