In the remark42 helm chart the init container command is statically declared.
This command tries to remove all files at the root of the pvc and make the deploy fail if missing sufficient rights. In my case the pvc is a formatted ext4 volume. It comes with a lost+found directory owned by root. In this case, since the container user is not root, the removal of the directory will fail causing all the deployment to fail.
I'd like to be able to "configure" this init command in order to only delete relevant directories.
Since this is my specific use case I do not want to make some corner cases enter this chart code and would like to only be able to change the arguments to fits my situation
In the remark42 helm chart the init container command is statically declared. This command tries to remove all files at the root of the pvc and make the deploy fail if missing sufficient rights. In my case the pvc is a formatted
ext4
volume. It comes with alost+found
directory owned by root. In this case, since the container user is not root, the removal of the directory will fail causing all the deployment to fail. I'd like to be able to "configure" this init command in order to only delete relevant directories. Since this is my specific use case I do not want to make some corner cases enter this chart code and would like to only be able to change the arguments to fits my situation