Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Prevent fsgroup relabeling in flex plugin #23

Closed
JohnStrunk opened this issue Sep 26, 2018 · 0 comments
Closed

Prevent fsgroup relabeling in flex plugin #23

JohnStrunk opened this issue Sep 26, 2018 · 0 comments

Comments

@JohnStrunk
Copy link
Member

kubernetes/kubernetes#68680 added a new flag on the init call fsGroup that, when set to false, will skip the recursive change group of all the files in the PV on each mount.

We should return fsGroup:false from the init call to prevent the chown.

The main Gluster driver already skips it, so this change would make the behavior consistent with the main implementation of Gluster and greatly speed the mount operation for volumes with a high file count.

benoitf added a commit to benoitf/gluster-subvol that referenced this issue Sep 27, 2018
With this patch it's possible to disable fsGroup
kubernetes/kubernetes#68680
it is also merged on OKD openshift/origin#21070 3.11.x

Fix gluster#23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant