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
Increase options for tcp services. Add accept-proxy to the list of available parameters with backward compat. #525
base: master
Are you sure you want to change the base?
Conversation
…d handle the accept-proxy option.
Hi @ctrix , Thanks for your contribution. We'll look at it and give any feedback if necessary. |
Can you rebase your branch to be in phase with current master ? |
Done. |
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. |
hi @ctrix currently we plan to expand capabilities for TCP services with gateway API. since gateway api is still in alpha/beta and it is uncertain when it will be finalized form k8s team, Because of that I will put this on hold for now until situation is a bit more clear |
@oktalz has there been any movement in this? |
@ShadowJonathan yes, tomorrow we will release v1.11 and next release after that one contains TCP CRD in roadmap. structure and options in it will probably be added gradually (over development time) and I'll notify here when changes are done so we can align with expected options |
At $dayjob we use haproxy on TCP services and we rely on the proxy protocol to transport the remote endpoint ip address to the backends.
Very often we chain several proxies one in front of the other. We noticed that the ingress controller doesn't handle the accept-proxy option, while it is supported for HTTP(s) connections through other settings.
This patch reuses the third parameter of the tcp services list, previously optional and supporting only
ssl
as value and transforms it into a comma separated list of options; It also adds theaccept-proxy
option support.When the tcp service will contain
accept-proxy
in the options, it will be added to the bind line in the configuration file.This should also address several requests and issues, like #318 and should enable more features to be added to the tcp services keeping the backward compatibility.