-
Notifications
You must be signed in to change notification settings - Fork 63
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
Add support to specify file permissions for pvc hostpaths #95
Comments
Hello, Is there some news about this ticket ? |
Is this repository still maintained ? @niladrih ? |
@niladrih Hello, any news ? |
Hi @sushiMix. I'm sorry about the delay I have caused you. I've reviewed your PR. I'll repeat myself here as well: It'd be a good idea to use similar cas-config parameters. And even if we don't implement the API fully (i.e. include file-permissions along with file-mode), it'd be a good idea to use the same parameter names on the storageClass/PVC to keep the file-permissions API uniform across openebs storage engines. Wdyt? |
@niladrih thank you, I'll check to upgrade the PR. I updated the code, it should import from Storage class and PVC by override. Need a bit of tests (before submitting the update of the PR) on my side and see later for user/group management (technically kubelet will perform the job as the PV is already using local path). |
Describe the problem/challenge you have
Depending on the type of pods using the Local volumes, storage class should provide options to customize the permissions on the host path subdirectories. By default, the permissions are set to 0777.
Describe the solution you'd like
The customizations can be passed down via the StorageClass CAS config options.
Anything else you would like to add:
As part of this issue, we should explore options around:
The text was updated successfully, but these errors were encountered: