Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit efbdc85

Browse files
committed
Update oc adm commands for ROKS
Signed-off-by: John Collier <John.J.Collier@ibm.com>
1 parent f373bb2 commit efbdc85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/_documentations/mdt-che-installinfo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ kubectl apply -f https://raw.githubusercontent.com/eclipse/codewind-che-plugin/0
4545

4646
### Enabling privileged and root containers to run
4747
Codewind needs to run as privileged and as root because it builds container images. If your cluster is running OpenShift, run the following commands, where `<che namespace>` is the namespace into which you installed Che.
48-
1. To enable privileged containers, enter `oc adm policy add-scc-to-group privileged system:serviceaccounts:<che namespace>`.
49-
2. To enable containers to run as root, enter `oc adm policy add-scc-to-group anyuid system:serviceaccounts:<che namespace>`.
48+
1. To enable privileged containers, enter `oc adm policy add-scc-to-user privileged system:serviceaccount:<che namespace>:che-workspace`.
49+
2. To enable containers to run as root, enter `oc adm policy add-scc-to-group anyuid system:serviceaccount:<che namespace>:che-workspace`.
5050

5151
Next step: [Adding registries in Che](mdt-che-setupregistries.html)

0 commit comments

Comments
 (0)