mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 05:36:12 +00:00
Adds missing user mapping option for Quobyte mounts
This commit is contained in:
@@ -254,6 +254,7 @@ func (mounter *quobyteMounter) SetUpAt(dir string, fsGroup *int64) error {
|
|||||||
|
|
||||||
os.MkdirAll(dir, 0750)
|
os.MkdirAll(dir, 0750)
|
||||||
var options []string
|
var options []string
|
||||||
|
options = append(options, "allow-usermapping-in-volumename")
|
||||||
if mounter.readOnly {
|
if mounter.readOnly {
|
||||||
options = append(options, "ro")
|
options = append(options, "ro")
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user