forked from rook/rook
If a user were to `make build` Rook, and after the Ceph CSV was generated and before make had finished, the Rook repo would be left with changes caused by the build modifying files temporarily in-place. All CSV template generation in the Ceph makefile is now self-contained and can be configured to operate outside of the main repo so that files are not modified in-place. In-place modification of files was also incorrect. On Mac some files with `-e` trailing were left, and in-place backups were also present in the form `<filename>''`. Therefore, also fix the generation to fix in-place modifications. Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>