The set of capabilities we grant to actor sandboxes are hardcoded today. There should be a way for actors to specify which capabilities to add / drop, similar to securityContext.capabilities in k8s Pod's.
It would be nice to have a way to define this in the ActorTemplate container. We could follow a similar patter as k8s where users can specify capabilities to add / drop, from the default set of capabilities from the sandbox class (i.e gvisor, cloud-hypervisor).
The set of capabilities we grant to actor sandboxes are hardcoded today. There should be a way for actors to specify which capabilities to add / drop, similar to
securityContext.capabilitiesin k8s Pod's.It would be nice to have a way to define this in the
ActorTemplatecontainer. We could follow a similar patter as k8s where users can specify capabilities to add / drop, from the default set of capabilities from the sandbox class (i.e gvisor, cloud-hypervisor).