-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
KEP-1441: update sysadmin profile to remove CAP_SYS_ADMIN and add privileged #4234
KEP-1441: update sysadmin profile to remove CAP_SYS_ADMIN and add privileged #4234
Conversation
Hi @eiffel-fl. Thanks for your PR. I'm waiting for a kubernetes 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. |
Looks like this has been updated in #4160, not sure if this one is needed. Feel free to re-open if it still is valid. |
Hi. Sorry, but you went too fast. Best regards. |
/ok-to-test |
@eiffel-fl could you please give more details about why we need to remove CAP_SYS_ADMIN?. I think, one of the major consequence of this change is netadmin seems more privileged than sysadmin which seems to me counter-intuitive. |
Sure! |
…vileged Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
8e69021
to
8f9daa2
Compare
Hi! I do not want to put pressure on anyone but a review before end of this year would be really appreciated :D! Best regards. |
I so needed this today (together with kubernetes/kubernetes#119200). In my use case, I'm trying to debug a Talos Linux node (Talos has no shell, so debug pods are the only way to do diagnostics). It's just awkward to spawn my own pod when the |
This makes sense as we discussed earlier; /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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: eiffel-fl, soltysh 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 |
Thank you for the merge! |
One-line PR description: As discussed in kubectl debug: add sysadmin profile kubernetes#119200, I updated sysadmin profile to remove
CAP_SYS_ADMIN
and usesprivileged
in all debug cases.Issue link: KEP 1441 - kubectl debug #1441
Other comments: