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 compatibility #1

Open
rarkins opened this issue Mar 22, 2021 · 2 comments
Open

OpenShift compatibility #1

rarkins opened this issue Mar 22, 2021 · 2 comments
Labels
help wanted Help is needed or welcomed on this issue priority-4-low Low priority, unlikely to be done unless it becomes important to more people status:ready Ready to start implementation type:feature Feature (new functionality)

Comments

@rarkins
Copy link
Member

rarkins commented Mar 22, 2021

I think our images have previously aimed at v3 OpenShift compatibility but may not be v4 compatible. In particular we set USER 1000 but may rely on hardcoded /home/x. For some of our tools we rely on them finding config in their home directory.

I found a discussion prior to v4 which gives some hope that we might still be able to put them in /home/x and it works despite random UIDs: openshift/origin#23369 (comment)

If as that comment indicates we can set HOME=/home/x and ensure it's writable by group 0 then it could be enough for tools to find their "home directory config" regardless of what UID they run as.

Another question remains though: is it forbidden to set USER 1000 in our images for OpenShift compatibility as seemed to be recommended in OpenShift v3, or we just need to be aware of its limitations.

@rarkins
Copy link
Member Author

rarkins commented Mar 22, 2021

@viceice viceice added help wanted Help is needed or welcomed on this issue type:feature Feature (new functionality) labels Jun 21, 2021
@viceice viceice added priority-4-low Low priority, unlikely to be done unless it becomes important to more people status:ready Ready to start implementation labels Jan 24, 2022
@viceice
Copy link
Member

viceice commented May 12, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Help is needed or welcomed on this issue priority-4-low Low priority, unlikely to be done unless it becomes important to more people status:ready Ready to start implementation type:feature Feature (new functionality)
Projects
None yet
Development

No branches or pull requests

2 participants