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

fix: default workdir with rights for any user #351

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adrianriobo
Copy link
Collaborator

Previously workdir was / and only root user was able to write there, when running mapt on an ocp cluster with security context enable and non-root user mapt fail as it requires to create some ephemeral files on the current workdir. This commit will create a path on the image with open rights and set it as workdir to allow create the required files.

Fix #350

Previously workdir was / and only root user was able to write there, when running mapt on an ocp cluster with security context enable and non-root user mapt fail as it requires to create some ephemeral files on the current workdir. This commit will create a path on the image with open rights and set it as workdir to allow create the required files.

Signed-off-by: Adrian Riobo <[email protected]>
@adrianriobo
Copy link
Collaborator Author

@zdrapela can you test this image on openshfit-ci?

ghcr.io/redhat-developer/mapt:pr-351 and comment here if it works now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] Error creating Pulumi.yaml while running mapt on openshift-ci
1 participant