-
Notifications
You must be signed in to change notification settings - Fork 190
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
Implement runWithUser/fsGroup within entrypoint #21
Implement runWithUser/fsGroup within entrypoint #21
Conversation
Hi Radon, won't removing this cause issues for folks though? There's a reason it was added IIRC. |
If I understand correctly, runatlantis/atlantis#342 is the reason why it was added, and I am fixing that issue in a different way at runatlantis/atlantis#1326. |
Ahh sorry I didn't see it was coupled with an Atlantis core PR. |
* [stable/prometheus-aws-health-exporter] add chart * add readme * add readme
Hello @lkysow, would that be possible to revive this effort? That would really help our 25-minute restarts 🎉 |
@raxod502-plaid can you resolve the conflicts? |
Resolved. |
I believe that this change is causing issues, atlantis is not able to start for me using the chart anymore. I had to revert this change so that atlantis starts, or it crashloop with permission denied when doing mkdir in /atlantis-data. Using
|
Are you using a custom |
I used the default values.yaml which I believe set an empty securityContext. Are you suggesting that I remove that empty securityContext from the values.yaml? |
Nah, was just trying to brainstorm why this might fail. Unfortunately I no longer have a setup on hand to test this, but you're not the only person who's reported a problem when setting up a new volume, so looks like there's something further that needs to be changed in the script. |
Hi @raxod502-plaid I met the same issue as above with
I did not set From Dockerfile, I did not see it change user, so it should be root by default: https://github.com/runatlantis/atlantis/blob/v0.19.4/docker-entrypoint.sh#L6-L12 I also did not see any issue with the k8s manifest:
So I don't know why However, I succeed with |
That's super weird, on the deployed pod manifest can you see any security context getting applied by default somehow? |
@raxod502-plaid oh I found the issue! I am doing local development, so I did not remove the old version 3 Chart! So after using |
Addresses #14
See also: runatlantis/atlantis#1326