mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 03:57:41 +00:00
Fix fsGroup to vSphere
This commit is contained in:
parent
d6e27fac03
commit
5cb7faac5e
@ -242,6 +242,7 @@ func (b *vsphereVolumeMounter) SetUpAt(dir string, fsGroup *int64) error {
|
|||||||
os.Remove(dir)
|
os.Remove(dir)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
volume.SetVolumeOwnership(b, fsGroup)
|
||||||
glog.V(3).Infof("vSphere volume %s mounted to %s", b.volPath, dir)
|
glog.V(3).Infof("vSphere volume %s mounted to %s", b.volPath, dir)
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user