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 manual pvc mount options #34

Merged
merged 1 commit into from
Jun 15, 2023

Conversation

amonhuang
Copy link

It will lose mount options when using pvc-manual.yaml to mount existing bucket, add volumeAttributes.options in example.

@htmljosh
Copy link

htmljosh commented Mar 13, 2023


edit: apparently this does alread work by just adding the options field to volumeAttributes.
options: --memory-limit 1000 --dir-mode 0777 --file-mode 0666

This!

I've been digging around for an hour or two trying to figure out how to set mount options for the manual pvc so that non-root containers can write to mounted directories.

Is there another way to do this?

@vitalif
Copy link
Collaborator

vitalif commented Mar 13, 2023

Yes, it works if you put options to volumeAttributes. :-)

@vitalif vitalif merged commit 874dedc into yandex-cloud:master Jun 15, 2023
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.

3 participants