rawfile-localpv icon indicating copy to clipboard operation
rawfile-localpv copied to clipboard

Make the data-dir configurable.

Open kmova opened this issue 4 years ago • 3 comments

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

kmova avatar Aug 08 '20 06:08 kmova

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

jshin47 avatar Sep 30 '20 09:09 jshin47

Hello @kmova i have made PR for this feature in this PR https://github.com/openebs/rawfile-localpv/pull/4 Please check and try it :))

Thank you

ronaldyuwandika avatar Sep 30 '20 20:09 ronaldyuwandika

Hi @kmova

I have made this possible in https://github.com/openebs/rawfile-localpv/pull/28 and also I have made other changes in helm chart to be more customizable :), Check it out if you want :)

mhkarimi1383 avatar Feb 25 '24 21:02 mhkarimi1383