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

Add rbac for deploying hostedclusters and nodepools #6

Closed
wants to merge 1 commit into from

Conversation

sakhoury
Copy link

No description provided.

@sakhoury
Copy link
Author

/approve cancel

Copy link

openshift-ci bot commented Jun 24, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign carbonin for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot removed the approved label Jun 24, 2024
Copy link

sonarcloud bot commented Jun 24, 2024

@carbonin
Copy link

This is interesting ... We don't have default templates that reference these types, but we're adding the RBAC here.

Would it be better to draw the line between resources included in the default templates and those not?

i.e. If users are asking the controller to create resources that it doesn't ship default templates for then they should also add this rbac to the controller's SA manually.

What do you think?

@sakhoury
Copy link
Author

This is interesting ... We don't have default templates that reference these types, but we're adding the RBAC here.

Would it be better to draw the line between resources included in the default templates and those not?

i.e. If users are asking the controller to create resources that it doesn't ship default templates for then they should also add this rbac to the controller's SA manually.

What do you think?

That's a very sound argument! I think we briefly touched on the topic of adding rbacs for standard OpenShift deployment resources. However, it makes sense to only provide rbacs for resources the controller supports through default templates. Let's discuss this in our sync-up meeting.

@openshift-merge-robot
Copy link

PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@sakhoury sakhoury closed this Jul 25, 2024
@sakhoury
Copy link
Author

Closing pull-request as RBACs should be added by user for new resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants