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

Adding a TFE token crashloops the image #4821

Closed
paymog opened this issue Aug 6, 2024 · 2 comments
Closed

Adding a TFE token crashloops the image #4821

paymog opened this issue Aug 6, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@paymog
Copy link

paymog commented Aug 6, 2024

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Overview of the Issue

When I add

environment:
    ATLANTIS_TFE_TOKEN: myTfeToken

To my helm values file, the app starts crashlooping with

Error: initializing server: initializing terraform: writing generated .terraformrc file with TFE token to /run/sshd/.terraformrc: open /run/sshd/.terraformrc: no such file or directory

Reproduction Steps

  1. use helm chart 5.4.4
  2. add a tfe token
  3. deploy chart
  4. see it crash loop
@paymog paymog added the bug Something isn't working label Aug 6, 2024
@paymog
Copy link
Author

paymog commented Aug 6, 2024

huh weird, removing it now causes the following

Error: initializing server: could not write credentials: Writing ~/.git-credentials file: writing generated .git-credentials file with user, token and hostname to /run/sshd/.git-credentials: open /run/sshd/.git-credentials: no such file or directory

@paymog
Copy link
Author

paymog commented Aug 6, 2024

wait nvm, this is because of the debian image: #4247

@paymog paymog closed this as completed Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant