-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
devfile/devworkspace-operator
#679Labels
engine/devworkspaceIssues related to Che configured to use the devworkspace controller as workspace engine.Issues related to Che configured to use the devworkspace controller as workspace engine.kind/enhancementA feature request - must adhere to the feature request template.A feature request - must adhere to the feature request template.severity/P2Has a minor but important impact to the usage or development of the system.Has a minor but important impact to the usage or development of the system.sprint/current
Description
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.
spec:
serviceAccount: buildah-sa
containers:
- name: buildah
image: image-registry.openshift-image-registry.svc:5000/image-build/buildah
securityContext:
capabilities:
drop:
- KILLDescribe 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 the serviceAccount and securityContext specified in the ConfigMap.
Metadata
Metadata
Assignees
Labels
engine/devworkspaceIssues related to Che configured to use the devworkspace controller as workspace engine.Issues related to Che configured to use the devworkspace controller as workspace engine.kind/enhancementA feature request - must adhere to the feature request template.A feature request - must adhere to the feature request template.severity/P2Has a minor but important impact to the usage or development of the system.Has a minor but important impact to the usage or development of the system.sprint/current