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

Make the data-dir configurable. #3

Open
kmova opened this issue Aug 8, 2020 · 3 comments · May be fixed by #10 or #28
Open

Make the data-dir configurable. #3

kmova opened this issue Aug 8, 2020 · 3 comments · May be fixed by #10 or #28
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@kmova
Copy link
Member

kmova commented Aug 8, 2020

The data directory used for creating the sparse file is hardcoded to "/var/csi/rawfile" in the task template.
https://github.com/openebs/rawfile-localpv/blob/master/templates/task.yaml#L14

Similar to image_tag and image_repository, the data-dir also should be configurable via the env variable.

Note: If you want to get started on setting up rawfile and checking how it works, you can follow the helm3 instructions in the repo or use the YAML instructions available here:

https://github.com/kmova/bootstrap/blob/master/openebs-localpv/rawfile/setup.md

@jshin47
Copy link

jshin47 commented Sep 30, 2020

I too would appreciate making this configurable and varied by storage class.

@ronaldyuwandika
Copy link

Hello @kmova i have made PR for this feature in this PR #4
Please check and try it :))

Thank you

@mhkarimi1383
Copy link

Hi @kmova

I have made this possible in #28 and also I have made other changes in helm chart to be more customizable :), Check it out if you want :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
6 participants