Make the data-dir configurable.
kmova opened this issue ยท 3 comments
kmova commented
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 commented
I too would appreciate making this configurable and varied by storage class.
ronaldyuwandika commented
mhkarimi1383 commented