-
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
Security Context runAsUser doesn't match atlantis user in Debian image #306
Comments
Doesnt this chart default to alpine? |
That's a good point but the project offers Debian images. Would some documentation change be enough in this case? |
This is because the alpine user is added as a system user (note the while the debian user is added as a regular user (missing This needs to be fixed on the Dockerfile and tested to ensure that users currently using the debian image won't have permission issues after upgrading. |
I'm running the Debian image, and use only the following:
I am not setting |
Just stumble upon this myself. It's true that users on Not only because it breaks when you use I suggest we use the same Using Not sure why on This should be fixed initially on the Dockerfile, here And once this is sorted out, then the Helm Chart should be updated. I can gladly prepare PRs if some existing maintainer agrees with this approach. |
Hi @ferpizza, thanks for the offer but we already have runatlantis/atlantis#4304 waiting to be merged. |
While deploying Atlantis, I noticed it failed to start whenever I enabled
--write-git-creds
:Upon removing that option, I noticed that Atlantis was running as the
_apt
user in the Debian image:The chart has
runAsUser: 100
, which works with the Alpine image because theatlantis
user there hasuid=100
:But not in the Debian image:
The workaround is to set this in
values.yaml
:The text was updated successfully, but these errors were encountered: