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

Use who am i and other improvements #98

Merged
merged 12 commits into from
Feb 3, 2025
Merged

Use who am i and other improvements #98

merged 12 commits into from
Feb 3, 2025

Conversation

venkatsc
Copy link
Collaborator

@venkatsc venkatsc commented Feb 3, 2025

  • Use whoAmI api to dertermine user from the authentication context
  • Improve shared volume feature (still only Quobyte SUPER_USER can delete shared volume PVs)
  • Mount /etc/passwd and /etc/group into Quobyte CSI driver pods. Also, add the same to Quobyte client deployment example definition.

Shared volume(s) is/are supposed to be accessed by all the pods
for creation and deletion of pvc inside it. Therefore, should
have open access (1777), and each pvc is created with (1700).
These default permissions ensure access to shared volume and
limited access to PVC inside it.

These shared volume permissions only apply, if user does not
create shared volume by themselves (and do not change permissions
via client). For, PVC that is created inside shared volume, the default
permissions can be overridden by storage class "accessMode:".
However, it is advised to set sticky bit and user:group (1xx0) permissions
only and leave out others permissions (set to 0).
..get user/group from the current user using Quobyte API
.. and add comment about optional user/group.
@venkatsc venkatsc merged commit f6d1d3f into master Feb 3, 2025
1 check passed
@venkatsc venkatsc deleted the use_who_am_i branch February 12, 2025 09:21
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.

1 participant