-
Couldn't load subscription status.
- Fork 453
feat: flatcar disable usb #1868
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
feat: flatcar disable usb #1868
Conversation
|
Hi @simonostendorf. Thanks for your PR. I'm waiting for a kubernetes-sigs 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-sigs/prow repository. |
|
@mboersma What do you think of disabling USB by default (breaking change for very few users or none, I assume)? /ok-to-test |
It's safer to leave it enabled by default of course. But disabling it by default is probably safe to do: it seems unlikely that USB resources are required in a Kubernetes environment. @simonostendorf the linter has these complaints:
|
2774e55 to
b0097bf
Compare
|
/retest |
|
If we're disabling USB by default can we please make sure there are some docs on how to re-enable it. Thinking about the on-prem folks here that might be using Kuberentes in things like factories. |
Good point, I can do that. Can you help me with the ci? What do I have to change to get the pull-ova-all job green? :D |
|
/retest It might be a flake. Let's see if it works this time. 🙂 |
|
6cd29ed to
1f735b8
Compare
|
I suggest to add the following code to the sed command because it was implemented like this before and flatcar needs the sed command instead of the lineinfile because of the read-only filesystem in the /etc folder: args:
warn: false
tags:
- skip_ansible_lintWhat do you think? |
|
@simonostendorf I think that's fine to skip the linting in this case. |
50495bf to
7615e7e
Compare
|
next try, hopefully now :/ |
|
linting and pull job works now, I will add docs and I guess then its ready to merge :D |
7615e7e to
bb55893
Compare
|
/retest |
|
/retest |
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
/approve
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: drew-viles 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 |
Change description
This PR disables usb devices for Flatcar as described in their hardening guide.
Default value is false to keep the current behavior. But a user can disable usb devices in flatcar by setting
disable_flatcar_usbto true.Related issues
none
Additional context
none