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

OpenShift compatible image that supports arbitrary user ids #687

Open
jsbloo opened this issue Oct 22, 2024 · 0 comments
Open

OpenShift compatible image that supports arbitrary user ids #687

jsbloo opened this issue Oct 22, 2024 · 0 comments

Comments

@jsbloo
Copy link

jsbloo commented Oct 22, 2024

Please read:

How I fixed

To make the image compatible, I had to build my own. I had to set perms on the opal dir eg:

RUN chgrp -R 0 /some/directory && \ chmod -R g+rwX /some/directory

When I deployed, HOME was set to root, not opal.
This meant that the scripts in: https://github.com/permitio/opal/blob/master/packages/opal-common/opal_common/git_utils/
were trying to write/access the ssh_key from/to /.ssh instead of /opal/.ssh

There were NO error messages indicating this issue, I recommend adding more error handling to these scripts.

I fixed this issue by setting home to /opal.

@jsbloo jsbloo changed the title OpenShift compatible image that supports arbitary user ids OpenShift compatible image that supports arbitrary user ids Oct 22, 2024
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

No branches or pull requests

1 participant