-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
fsGroup permissions are not applied when using the gitRepo plugin #482
Comments
Hmm, I see the same thing in GKE (v1.3.4): $ ls -la Do you get the correct output somewhere else? |
I performed the minimal test case above with minikube using both vbox and xhyve. I suppose it might still be an open issue. This is the document that i think folks are driving towards, but--- the current state of affairs is nebulous. https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/volumes.md
Not sure if SupportsOwnershipManagement encompasses SecuirtyContext: runAsUser, or fsGroup, or both. I was trying to dig into the code base to see how things work, and found it interesting that the implementation was pretty much the same between emptyDir and gitRepo, but the behavior was different. |
Would you mind opening this as an issue against kubernetes/kubernetes? I haven't been able to get this working in a production GKE cluster either, so it's unlikely to be an issue with Minikube specifically. |
kubernetes/kubernetes#2630 looks to be relevant. For me it isn't a big issue; i just used an InitContainer to perform a git clone. |
Minimal test case:
bad-perm.yaml:
output:
system details:
minikube version: v0.7.1
Darwin Kernel Version 15.3.0
This PR was merged, so the functionality is there:
https://github.com/kubernetes/kubernetes/pull/22995/files
The text was updated successfully, but these errors were encountered: