eclipse-che / che-dockerfiles

Eclipse Public License 2.0
86 stars 107 forks source link

CDK-305 Adding user to the 'root' group as a workaround for unwritable pvs owned by root on minishift / origin #198

Closed ibuziuk closed 6 years ago

ibuziuk commented 6 years ago

What does this PR do?

Adding user to the 'root' group as a workaround for unwritable pvs owned by root on minishift / origin

image

Details in https://issues.jboss.org/browse/CDK-305?focusedCommentId=13600344&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-13600344

What issues does this PR fix or reference?

https://issues.jboss.org/browse/CDK-305

Previous behavior

Not possible to create workspace on minishift / origin with anyuid enabled using any stack

New behavior

Workspace creation works fine on minishift / origin with anyuid enabled using any stack

Tests written?

No, before merging need to test more. currently tested only for centos_jdk8 and it seems to work fine on minishift / osio - no side effects were spotted. Here is the image I used for testing on minishift / osio which works fine with anyuid enabled ibuziuk/centos_jdk8:rootGroup [1]

[1] https://hub.docker.com/r/ibuziuk/centos_jdk8/tags/

Docs updated?

No