-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snipeit: Bugfix in initcontainer #151
Conversation
Hi Gerhard, thanks for the PR. |
Tested with
Result:
|
I didn't notice that the changed code did not get properly pushed earlier today. |
@lausser Looks good to me. Please raise the Chart version in the Chart.yaml to a BugFix release and then i am happy to merge |
Same issue here :( Will the PR be resolved in the next few minutes? I could use that very well now ^^ |
Thank you :) @mschmidt291 @lausser Good Job 👍 |
Hi,
sh -c find /var/www/html/..... does not what it was intended here. Actually, the command executed here is simply sh -c find, the rest is ignored. find and all it's parameters should be in quotes, so that the -c has only one argument.
I replaced this simply by chown -R ..., which has the same effect. I don't think wrapping everything in sh -c "command arg arg arg" is necessary.
It solves issues #150 and #127.
Also, the init container definition used the hardcoded path /var/www/html/storage/framework/sessions. I replaced it with .Values.persistence.sessions.mountPath, like it is done in the main container.