-
Notifications
You must be signed in to change notification settings - Fork 1.8k
updated description when using cluster-scoped flag #1190
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
Conversation
When using ` cluster-scoped` flag, in the file `deploy/role_binding.yaml` CluserRole is used instead of Role
Hi @cmendible. Thanks for your PR. I'm waiting for a operator-framework or openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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/test-infra repository. |
/test |
/ok-to-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/hold I misread part of this PR. The text you are adding (ClusterRole instead of Role) doesn't apply for the |
It applies to the roleRef kind in Check https://github.com/operator-framework/operator-sdk/blob/master/pkg/scaffold/rolebinding.go I can change the text to specify that if needed. |
Yes, I missed that. I think if you specify "for roleRef" at the end of what you currently have now, that should be fine. /cc @hasbro17 @joelanford |
/hold cancel |
I agree with @AlexNPavel re: "for roleRef". Can you also add the same line in |
Changed from: Use `ClusterRole` instead of `Role` to Use `ClusterRole` instead of `Role` for roleRef
I think it's ready. Sorry that I created another pull request for the other files... #1209 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description of the change:
When using
cluster-scoped
flag, in the filedeploy/role_binding.yaml
CluserRole is used instead of RoleMotivation for the change:
Making the docs more accurate