Open tomer-1 opened 6 years ago
I wonder if the best way to handle this would be via the webserver. Just a GET request to $ATLANTIS_URL/reload_config or similar?
@lkysow any idea if it'd be possible to implement something like this without too much effort? It'd be awesome to have a mechanism to do a dynamic reload for repos.yaml when we need to add additional repos to the allow-list
Exactly, if it worked something similar to how Prometheus HTTP POST to /-/reload
it would be great.
When I think about a feature like this in practice, I imagine that once the directory is spawned for the PR, it could just take the point in time copy there to avoid using a different repos.yaml for plan vs apply, with another command to just reset it if it got really strange. Might be over-thinking it a bit.
vote 👍
this would be a nice
vote
vote 👍
when changing the server side yaml, there is no proper way to trigger a "reload configuration" this requirement is extended when speaking on a centralized, server side atlantis.yaml file.