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

Prevent fsgroup relabeling in flex plugin #23

@JohnStrunk

Description

@JohnStrunk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions