Add a wsmaster property to specify workspaces default security context #15138
Labels
kind/enhancement
A feature request - must adhere to the feature request template.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Milestone
Is your enhancement related to a problem?
Currently workspace containers are run as unprivileged arbitrary users (uid is a random number of multiple digits). That has some benefits from a security point of view and works well on secured Kubernetes clusters. But some users may come with containers that only work when run as root on an unsecured cluster. See #14330
Describe the solution you'd like
Add a wsmaster property that specify the default workspace pods SecurityContext
runAsUser
attribute (default)c.f.
https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#securitycontext-v1-core
The text was updated successfully, but these errors were encountered: