mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #74520 from casusbelli/fix-qb-usermapping
Adds missing user mapping option for Quobyte mounts
This commit is contained in:
commit
cd9e590178
@ -254,6 +254,7 @@ func (mounter *quobyteMounter) SetUpAt(dir string, fsGroup *int64) error {
|
||||
|
||||
os.MkdirAll(dir, 0750)
|
||||
var options []string
|
||||
options = append(options, "allow-usermapping-in-volumename")
|
||||
if mounter.readOnly {
|
||||
options = append(options, "ro")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user