The first thing, that I want to add, is changing file permissions to make directories traversable:
find /var/www/htdocs -type d -exec chmod 755 -R {} \;
There are likely more such one-liners in the future, that I want to add. Booting up a container for each one of those just to run that line seems a bit overkill. Is there a good way to add more commands?
EDIT: If it's not that much overhead, I can of course use a separate init container per command.
I want to expand this init script to run more commands:
https://github.com/natrontech/helm-charts/blob/dd752fa7d9ccc60c580f58f177f49a679c7d4234/charts/safir/templates/deployment.yaml#L71-L81
The first thing, that I want to add, is changing file permissions to make directories traversable:
There are likely more such one-liners in the future, that I want to add. Booting up a container for each one of those just to run that line seems a bit overkill. Is there a good way to add more commands?
EDIT: If it's not that much overhead, I can of course use a separate init container per command.