-
Notifications
You must be signed in to change notification settings - Fork 116
Bug 2066700: RBAC replace wildcards for tuned.openshift.io apiGroup #333
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
Bug 2066700: RBAC replace wildcards for tuned.openshift.io apiGroup #333
Conversation
0b876d7 to
d329804
Compare
jmencak
left a comment
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.
Thank you for the PR, David! This looks mostly good. However, as we decided to tighten the RBAC rules, we probably should tighten them further. For example, the operand itself will never delete and create Tuneds/Profiles. Also, it should never update Tuneds, just Profiles (statuses). As for deletecollection, do we need this at all for operator/operand? So let's do a full review and keep only those needed.
It is actually intended to fix rhbz#2066700. Let's update the description, please. Also, I'm not sure this is all that needs to be done to fix that BZ, perhaps @sreber84 can comment. |
Thanks Jiri. I do plan to tighten the rules before removing the (WIP) from the PR, but your hints are appreciated!
Good catch. Sorry about that. I opened this PR as a WIP as a lazy way to run the e2e test suite, and I'm surprised to see that both the e2e-aws and e2e-aws-operator test failed bootstrapping on "operator conditions node-tuning", with the co/node-tuning status being null. |
|
/retest I have been unable to reproduce this failure so far... maybe a potential flake to investigate, but seems unrelated to the PR changes. |
|
@dagrayvid: This pull request references Bugzilla bug 2066700, which is invalid:
Comment In response to this:
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. |
|
/bugzilla refresh |
|
/retest-required |
|
@dagrayvid: This pull request references Bugzilla bug 2066700, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla (liqcui@redhat.com), skipping review request. In response to this:
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. |
befbdac to
6319b6e
Compare
|
/test e2e-aws-operator |
Signed-off-by: David Gray <dagray@redhat.com>
6319b6e to
11ae3f1
Compare
|
/retest |
|
e2e-aws failure does not look related to NTO. /retest |
|
@dagrayvid: all tests passed! Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
|
Thank you for the PR David. I've tested this outside of CI and I didn't see any issues in the operator/operand logs. Also e2e tests pass. /lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dagrayvid, jmencak The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@dagrayvid: All pull requests linked via external trackers have merged: Bugzilla bug 2066700 has been moved to the MODIFIED state. In response to this:
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. |
This PR is intended to fix RHBZ#2066700.
For an initial draft, I am replacing the wildcards with the full set of resources and verbs in the tuned.openshift.io apiGroup. I plan to experiment with removing some of the verbs, especially from the
cluster-node-tuning:tunedclusterRole.