groundhog2k / helm-charts

Helm charts for open source applications - ready to use for deployment on Kubernetes
MIT License
69 stars 56 forks source link

Make remark42 init container command configurable #1248

Closed IxDay closed 1 year ago

IxDay commented 1 year ago

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