-
Notifications
You must be signed in to change notification settings - Fork 61
fix: remove ServiceAccount binding to the edit role #316
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
Hey @astefanutti |
@VanillaSpoon There is an error logged in operator pod:
That is probably the reason for the test failure. |
@VanillaSpoon @sutaakar I'd suggest we add permissions for batch Job resources to the default operator role. |
I appreciate the support on this @astefanutti and @sutaakar. The changes have been updated in 9762026 |
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
verbs: | ||
- list | ||
- delete | ||
- create |
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.
While that works, MCAD should theoretically also be able to update these resources, so I'd suggest to add the following verbs for consistency:
- patch
- update
- watch
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.
Thanks @astefanutti :) I have applied the update in aa18a41
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: astefanutti 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 |
Thanks a lot @VanillaSpoon, that's a critical fix w.r.t. security. |
Issue link
closes #161
What changes have been made
In the current setup, we have a clusterrolebinding between the ServiceAccount and the default edit ClusterRole. The edit role provides an expansive set of permissions which have been checked and deemed not necessary for the operators functionality.
Therefor this PR removes the clusterrolebinding.
Checks