-
Notifications
You must be signed in to change notification settings - Fork 203
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
Feature Request: auth proxy support #531
Comments
Hi @mateuszdrab , we might consider that in the future. Your request has been labeled as enhancement. |
I managed to get it working. That's definitely a work-around; but here the receip:
2/ Modify the deployment; (I used helm) here the added values:
3/ Now you need to modify the ingresses you want to protect with this added annotation
Note that I (also) use oauth2-proxy, and expose it via an ingress, so I have a backend ( Reference: PS: I just read a know limitation of the script I used "The backend must not be using TLS."; seeing the annotation you used, this might be a problem |
Thanks for sharing your steps - I think I overlooked this and never got to investigate it. The backend was indeed set to Does it work fine when backend is |
@Zempashi @mateuszdrab I am trying to reproduce your configuration but the backend configuration is invalid, at least from the haproxy's perspective. It is not included in the
I checked the documentation here and here. In backednd you can only use lua service with |
I also found it needs to be included in the To maintain ingress without reverse proxy auth, you can make a separate ingress class or something like the |
@mateuszdrab @Zempashi
into a file and then "exec" this file in |
In my linked config I use this in the "frontend" section:
With Not as elegant as doing everything via the ingress resource, but the best I could come up with. Perhaps it might work for you? |
Hi
I've been using the HAproxy controller as the internet facing ingress controller in my setup; however, for purpose of oauth2 authentication, I've been 'daisy-chaining' an Nginx Ingress Controller which is configured with duplicate ingresses to allow oauth2 authentication via oauth2-proxy. This is achieved with the annotations:
Unfortunately, it does not appear that this ingress controller supports it - but I'd like to do away with jumping between controllers.
Is it feasible to implement support for this?
It is supported by a similar project at https://github.com/jcmoraisjr/haproxy-ingress
Thanks
The text was updated successfully, but these errors were encountered: