feat: Add support for --cap-drop
-
Support for --cap-add was added as part of https://github.com/GoogleContainerTools/container-structure-test/pull/327
-
This rounds out the feature set to also include support for --cap-drop
-
Updates tests to drop "chown" capability and verify doing so works
-
closes https://github.com/GoogleContainerTools/container-structure-test/issues/389
FYI - make test fails against the head of the main branch on my M1 -- which I didn't have time to diagnose. I'm using CI to verify that the tests behave properly.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
uh, sorry no one looked at this, I get to spend a little time now and then trying to maintain this, if you can rebase this and update it, I can merge it in.
@loosebazooka updated
Looks like we've got failing tests
FAIL: Run options (capabilities, bindMounts) test case failed
Will take a closer look