You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For security reasons, it's often desirable to drop all linux capabilities when running containers in Kubernetes. However, there is currently only a way to add capabilities for tests and no way to drop them.
As seen in, #327, support was only added for --cap-add
- Support for --cap-add was added as part of
GoogleContainerTools#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
- closesGoogleContainerTools#389
ddl-ebrown
added a commit
to ddl-ebrown/container-structure-test
that referenced
this issue
Feb 29, 2024
- Support for --cap-add was added as part of
GoogleContainerTools#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
- closesGoogleContainerTools#389
For security reasons, it's often desirable to drop all linux capabilities when running containers in Kubernetes. However, there is currently only a way to add capabilities for tests and no way to drop them.
As seen in, #327, support was only added for
--cap-add
--cap-drop
can similarly remove default capabilities - see https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilitiesThe text was updated successfully, but these errors were encountered: