rawfile-localpv
rawfile-localpv copied to clipboard
Make the data-dir configurable.
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
I too would appreciate making this configurable and varied by storage class.
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
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 :)