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

Workaround for securityContext.fsGroup not taking effect. #734

Merged
merged 2 commits into from
Oct 8, 2021

Conversation

calind
Copy link
Member

@calind calind commented Oct 8, 2021

closes/fixes #615

Some PV provisioners don't take into account the securityContext.fsGroup (see rancher/local-path-provisioner#41 for example). This was fixed in #729 but it required running a container with root permissions. Now the fix is placed under a flag orchestrator.persistence.fsGroupWorkaroundEnabled and users MUST explicitly allow running containers with root, by setting securityContext.runAsNonRoot to false.


  • I've made sure the Changelog.md will remain up-to-date after this PR is merged.

@calind calind changed the title Use distroless base image Workaround for securityContext.fsGroup not taking effect. Oct 8, 2021
@calind calind merged commit 358eb88 into master Oct 8, 2021
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.

unable to open database file
1 participant