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

Missing securityContext options for init container #36

Open
strachg opened this issue Oct 21, 2024 · 0 comments
Open

Missing securityContext options for init container #36

strachg opened this issue Oct 21, 2024 · 0 comments

Comments

@strachg
Copy link

strachg commented Oct 21, 2024

As per the helm3-charts repo chart for nexus-iq, the init container is missing the required security context to perform the chown operation on the mounted volume, and results in the following error:

chown: /sonatype-work/clm-cluster/log: Operation not permitted
chown: /sonatype-work/clm-cluster/log: Operation not permitted
chown: /sonatype-work/clm-cluster: Operation not permitted
chown: /sonatype-work/clm-cluster: Operation not permitted

This repo:

helm3-charts repo:
https://github.com/sonatype/helm3-charts/blob/e311891fb61c5ae35487e3e423fd8aaf83b3569b/charts/nexus-iq/templates/deployment.yaml#L50

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