Skip to content
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

[laravel] permission denied with Openshift in lifecycle pod #33

Open
abdennour opened this issue Sep 26, 2023 · 0 comments
Open

[laravel] permission denied with Openshift in lifecycle pod #33

abdennour opened this issue Sep 26, 2023 · 0 comments

Comments

@abdennour
Copy link

Hi, On top of Openshift, when running the same helm chart using the default values, we got this error

Exec lifecycle hook ([/bin/sh -c cp /tmp/.env /var/www/html/.env && cp -r /var/www/html/. /app && cd /var/www/html && sh deploy.sh]) for Container "scheduler" in Pod "hello-lv-app-laravel (e358ee1c-a945-45b5-8521-523e2b8018d3)" failed - error: command '/bin/sh -c cp /tmp/.env /var/www/html/.env && cp -r /var/www/html/. /app && cd /var/www/html && sh deploy.sh' exited with 1: cp: can't create directory '/app': Permission denied , message: "cp: can't create directory '/app': Permission denied\n"

Any securitycontext must be tuned ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant