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

ConfigMap mounts Nexus property directory with wrong permissions on OCP #222

Open
ricardozanini opened this issue Jan 10, 2022 · 0 comments
Assignees
Labels
bug 🐛 Something isn't working
Milestone

Comments

@ricardozanini
Copy link
Member

Describe the bug
The CM for nexus.properties (#212) mounts on $data-dir/etc, which makes the path owned by root. This way the nexus user in the community image can't write the logs in the $data-dir/etc/logback. See #214 (comment) for context.

One way to avoid this is creating an empty volume on $data-dir/etc/logback, which can be handled by the operator. This volume can also be configured to be an actual volume so users can externalize the log data. This is a workaround until we find a solution that avoids the CM being mounted with the wrong permissions.

To Reproduce
Simply deploy the operator on OpenShift.

Expected behavior
That the permissions in the etc directory were set correctly.

Environment
OpenShift 4.x, Nexus Operator 0.6.0

Additional context
See #214 (comment) for context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant