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

[Backport 1.21] Cannot write data to local PVC #3721

Merged
merged 2 commits into from
Jul 28, 2021

Conversation

dereknola
Copy link
Member

@dereknola dereknola commented Jul 28, 2021

  • Fix to allow non-root users to access storage volumes, while still restricting users from finding other volumes they do not own.
  • Removal of integration test, as underlying infrastructure has not been ported to 1.21

Signed-off-by: Derek Nola [email protected]

Linked Issues

#3720
Original Issue: #3704
Original PR: #3714

* Fix to prevent non-root users from accessing storage directory, while allowing non-root users access to subdirectories.

Signed-off-by: dereknola <[email protected]>

* Added integration test

Signed-off-by: dereknola <[email protected]>
Signed-off-by: dereknola <[email protected]>
@dereknola dereknola self-assigned this Jul 28, 2021
@dereknola dereknola requested a review from a team as a code owner July 28, 2021 17:38
@mkesper
Copy link

mkesper commented Oct 13, 2021

Is there any way to include these tests again? This seems to be important behavior that should be checked for correctness.

@al3x609
Copy link

al3x609 commented Apr 25, 2024

I'm using version v1.29.3+k3s1 of k3s, but the issue of read-only persistence volumes for non-root containers still persists.

@cwayne18
Copy link
Member

Please open a new issue with logs and we'll take a look

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.

6 participants