Skip to content

fix: Add HOST_USERS environment variable support for user namespace config…#1582

Open
tolusha wants to merge 1 commit intomainfrom
23728
Open

fix: Add HOST_USERS environment variable support for user namespace config…#1582
tolusha wants to merge 1 commit intomainfrom
23728

Conversation

@tolusha
Copy link
Contributor

@tolusha tolusha commented Feb 6, 2026

…uration

What does this PR do?

Adds support for injecting the HOST_USERS environment variable into workspace containers based on the workspace configuration. When hostUsers is set to false, containers receive HOST_USERS=false to indicate they're running in a dedicated user namespace, allowing container images to adjust their behavior accordingly.

What issues does this PR fix or reference?

eclipse-che/che#23728

Is it tested? How?

  1. Start a workspace from a devfile
  2. Run podman run -ti --rm hello-world in the terminal

PR Checklist

  • E2E tests pass (when PR is ready, comment /test v8-devworkspace-operator-e2e, v8-che-happy-path to trigger)
    • v8-devworkspace-operator-e2e: DevWorkspace e2e test
    • v8-che-happy-path: Happy path for verification integration with Che

… configuration

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
@tolusha tolusha reopened this Feb 6, 2026
@openshift-ci
Copy link

openshift-ci bot commented Feb 7, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akurinnoy, dkwon17, rohanKanojia, tolusha

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants