-
Notifications
You must be signed in to change notification settings - Fork 1.1k
criocli: add privileged_without_host_devices flag to runtime handler config #5054
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
criocli: add privileged_without_host_devices flag to runtime handler config #5054
Conversation
|
Hi @littlejawa. Thanks for your PR. I'm waiting for a cri-o 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. DetailsInstructions 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. |
|
/cc @fidencio - can you get a look ? |
Codecov Report
@@ Coverage Diff @@
## master #5054 +/- ##
==========================================
- Coverage 41.70% 41.69% -0.01%
==========================================
Files 108 108
Lines 10163 10169 +6
==========================================
+ Hits 4238 4240 +2
- Misses 5476 5480 +4
Partials 449 449 |
|
/hold |
7d07e61 to
1e6ecfd
Compare
|
/unhold |
|
/retest |
|
@littlejawa: Cannot trigger testing until a trusted user reviews the PR and leaves an DetailsIn 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. |
|
/ok-to-test |
|
LGTM assuming happy tests. |
1e6ecfd to
7442bf9
Compare
|
/hold |
7442bf9 to
6507411
Compare
…config Make it possible to configure the privileged_without_host_devices flag when generating the configuration file for a different runtime handler. Using this in integration tests (helpers.bash) to allow custom configurations. Signed-off-by: Julien Ropé <[email protected]>
|
/retest Please review the full test history for this PR and help us cut down flakes. |
17 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
@littlejawa: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
7 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
The PRIVILEGED_WITHOUT_HOST_DEVICES flag was not available in cri-o before v1.22. But this flag is necessary for two of our tests. This commit is setting this flag and enabling those tests for v1.22 and above. (see: cri-o/cri-o#5054) Fixes: kata-containers#4139 Signed-off-by: Julien Ropé <[email protected]>
Make it possible to configure the privileged_without_host_devices flag
when generating the configuration file for a different runtime handler.
Using this in integration tests (helpers.bash) to allow custom configurations.
What type of PR is this?
/kind bug
What this PR does / why we need it:
Add a parameter to the "runtimes" fields, so that we can customize the flag "privileged_without_host_devices" for a given runtime.
Without this, the flag will always be 'false' in the generated configuration.
Does this PR introduce a user-facing change?