-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need to make sure that arbitrary-users-patch
images work on OpenShift v4
#13960
Comments
@rhopp should help us with the OpenShift v4 access |
I have Che 7 (some nightly version) deployed on OCP 4 right now (while trying something else), so I tried to start workspace from this devfile: https://github.com/eclipse/che-devfile-registry/blob/master/devfiles/java-maven/devfile.yaml Image used in the devfile:
This is how it looks like in Che, when I open terminal: |
Nope, the entrypoint doesn't seem to run here. |
@rhopp |
@rhopp are you able to get the UID and the corresponding line in the /etc/passwd in the maven container? |
That is pretty weird. Assuming
|
@l0rd We've found the reason for my failure - I was using old devfile, which has "command" for the container defined -> thus the pod has "command" defined meaning openshift overriden entrypoint with this command. |
Have tested with the following devfiles form the registry against OCP v4 and was not able to spot any issues:
Basically, all the workspaces started from those devfiles have a dedicated |
@ibuziuk cool! |
We have to do
arbitrary-users-patch
[1] of the community images been supported on OpenShift. During the discussion on openshift/origin#23369 it appeared to be thatCRI-O now has support for adding the entry of the user to the /etc/password if it does not exists in /etc/passwd.
Assuming that CRI-O is the default contianer engine for OpenShift v4 we need to verify that our patched images work correctly on both OpenShift v3 and OpenShift v4 and there are no side-effects.[1] https://github.com/eclipse/che-devfile-registry/tree/master/arbitrary-users-patch
The text was updated successfully, but these errors were encountered: