Skip to content
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

WIP Work around arbitrary user IDs on OpenShift #13561

Closed
wants to merge 1 commit into from

Commits on Jun 20, 2019

  1. Add ws attribute to work around arbitrary user ID

    Add the workspace attribute 'supportArbitraryUser' to enable an attempt
    at working around containers running with arbitrary user ID on
    OpenShift.
    
    When the attribute is set to 'true', Che will modify the recipe containers'
    command and arguments to attempt to add an entry to /etc/passwd for the
    current user ID. This resolves various problems around programs that
    depend on username being available when running (e.g. maven, bash).
    
    If the command fails (e.g. because /etc/passwd is not writable), the
    original container command will still execute.
    
    Signed-off-by: Angel Misevski <amisevsk@redhat.com>
    amisevsk committed Jun 20, 2019
    Configuration menu
    Copy the full SHA
    9963f94 View commit details
    Browse the repository at this point in the history