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

Add /* as a default ingress path #180

Merged
merged 2 commits into from
Aug 22, 2022
Merged

Conversation

nitrocode
Copy link
Member

what

  • Add /* as a default ingress path

why

  • This will allow access to / and other common atlantis api paths

references

@lkysow
Copy link
Member

lkysow commented Aug 22, 2022

Why can't you just make this change in your own values file?

@lkysow lkysow merged commit 1acbeac into runatlantis:main Aug 22, 2022
@kvanzuijlen
Copy link
Contributor

kvanzuijlen commented Oct 5, 2022

@lkysow This change didn't work for me with the default configuration in combination with an Nginx Ingress Controller. I had to revert the path to / to get it to work. Also, ImplementationSpecific and Prefix are the same thing for the Nginx Ingress controller (not sure about other LB implementations). Imo this change should therefore be unmerged and maybe handled in documentation instead, since this now inadvertently became a breaking change without a major version increase.

Further explanation:
Setting the path to /* will result in location /*/ { in the generated Nginx configuration, therefore not matching anything at all.

@nitrocode nitrocode deleted the patch-1 branch November 10, 2022 02:33
@nitrocode
Copy link
Member Author

@lkysow I suppose someone could just override the values.

Apologies @kvanzuijlen for breaking your implementation.

The default would work well for AWS load balancer controller but not for nginx. Perhaps the middle ground is to document both deployments?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ingress doesn't forward any path except /
3 participants