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

Feature request: additional backends e.g. for haproxy spoa #449

Closed
dani-CO-CN opened this issue May 30, 2022 · 4 comments
Closed

Feature request: additional backends e.g. for haproxy spoa #449

dani-CO-CN opened this issue May 30, 2022 · 4 comments
Labels

Comments

@dani-CO-CN
Copy link

We are currently using haproxy ingress controller in combination with cloudflare zero-trust. Cloudflare Zero trust handles the access control for you and the traffic for authorized users gets forwards to an ip address of choice. To verify the integrity of the request cloudflare adds a jwt in the header, which we need to verify. We decided on using the haproxy spoa feature to do the verification process, but to implement that we need an additional backend for the verification service.

We found a dirty hack to achieve our goal by creating a tcp-service, a tcp-service creates a frontend and a backend and we rely on the name of the created backend to be repurposed as spoa backend. I think it would make sense to add the option for additional backends.

@stale
Copy link

stale bot commented Jun 29, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 29, 2022
@oktalz oktalz removed the stale label Jun 29, 2022
@oktalz
Copy link
Member

oktalz commented Jun 29, 2022

@dani-CO-CN in what manner ?

there already is an option to use secondary-config file and you can put basically anything in there.

or do you mean just to add additional services as backends, but they are dynamic (IC adds and removes backend servers / pods) ?

@stale
Copy link

stale bot commented Jul 29, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 29, 2022
@stale stale bot closed this as completed Aug 12, 2022
@mecampbellsoup
Copy link

there already is an option to use secondary-config file and you can put basically anything in there.

i'm curious how one would do this in a k8s context. we are working on a SPOA as well for something similar (authN/authZ) and i'm curious how e.g. the pod IPs for the new SPOA deployment can be dynamically generated into our haproxy.cfg file...

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

No branches or pull requests

3 participants