Closed robmonct closed 1 year ago
@robmonct
If webhook requires basic auth, atlantis server returns 401.
Even if enable basic auth on atlantis, /events
endpoint doesn't need basic auth.
I guess 502 returns GCP load balancer, not atlantis. Could you check your proxy settings?
We solved with a workaround, thanks.
@robmonct please include your workaround for others. It would also help to know what it is in case we need to add to our documentation
Yes, of course. We expose publicly /events to work with Github. And we have configured GCP IAP to access to Atlantis UI.
@robmonct this terraform module may have automated this situation already
Thank you. We use GKE but maybe we can use it. I will take a look.
Community Note
Overview of the Issue
Github App webook doesn't work when basicAuth is enabled
Reproduction Steps
Atlantis installation through Helm chart (version 4.8.1) with Atlantis version (v0.21.0)
Logs
Logs into Github App > Advanced
Response 502
Environment details
Additional Context