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

Add the allow_other parameter for the OBS storage plug #139

Closed
lsjshilly opened this issue Dec 11, 2023 · 1 comment
Closed

Add the allow_other parameter for the OBS storage plug #139

lsjshilly opened this issue Dec 11, 2023 · 1 comment

Comments

@lsjshilly
Copy link

mountFlags := []string{"big_writes", "max_write=131072", "use_ino"}

If the allow_other parameter is not modified, other users do not have the permission to access the persistent volume directory.

@chengxiangdong
Copy link
Collaborator

Hello,
by default, the allow_other attribute is not present. If needed, you can add it in mountOptions as follows:

apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: obs-sc
provisioner: obs.csi.huaweicloud.com
reclaimPolicy: Delete
mountOptions:
  - allow_other
parameters:
  acl: public-read-write

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

No branches or pull requests

2 participants