Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default fstype to fix fsGroup usage #363

Merged
merged 1 commit into from
Oct 30, 2020
Merged

Set default fstype to fix fsGroup usage #363

merged 1 commit into from
Oct 30, 2020

Conversation

timoreimann
Copy link
Collaborator

@timoreimann timoreimann commented Oct 30, 2020

The provisioner sidecar v2 dropped setting a default file-system type. When we upgraded, we did not set it explicitly because our driver already handles the case where no file-system is specified. As it turns out, however, the kubelet gates the application of the fsGroup security context parameter setting the file permissions of a volume on the availability of a file-system at the time the PV is created and otherwise ignores it.

We restore proper functionality of fsGroup by setting the default file-system type to ext4.

The provisioner sidecar v2 dropped setting a default file-system type.
When we upgraded, we did not set it explicitly because our driver
already handles the case where no file-system is specified. As it turns
out, however, the kubelet gates the application of the fsGroup security
context parameter setting the file permissions of a volume on the
availability of a file-system at the time the PV is created and
otherwise ignores it.

We restore proper functionality of fsGroup by setting the default
file-system type to ext4.
@timoreimann
Copy link
Collaborator Author

Force-pushed just a changelog update.

@timoreimann timoreimann merged commit d467a8e into master Oct 30, 2020
@timoreimann timoreimann deleted the fix-fsgroup branch October 30, 2020 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants