Users should be able to configure their workspace pods securityContext capabilities #20459
Labels
engine/devworkspace
Issues related to Che configured to use the devworkspace controller as workspace engine.
kind/enhancement
A feature request - must adhere to the feature request template.
severity/P2
Has a minor but important impact to the usage or development of the system.
sprint/current
Is your enhancement related to a problem? Please describe
I would like to be able to build a Dockerfile using
buildah
from within a workspace as described here. On OpenShift and using the DevWorkspace operator.Describe the solution you'd like
To be able to run buildah successfully the pod should use a ServiceAccount that has
anyuid
scc (oc adm policy add-scc-to-user anyuid -z <my-service-account>
) and it should be possible to set containers SecurityContext capabilities.Describe alternatives you've considered
No response
Additional context
That may be a user configuration specified in a
ConfigMap
: every workspace of the user would have theserviceAccount
andsecurityContext
specified in theConfigMap
.The text was updated successfully, but these errors were encountered: