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

Do not set status.ip when proxy protocol is set #5

Merged
merged 3 commits into from
Apr 30, 2022
Merged

Conversation

DMajrekar
Copy link
Contributor

When the proxy protocol annotation (kubernetes.civo.com/loadbalancer-enable-proxy-protocol) is set, the IP of the LoadBalancer is not set, only the Hostname. This will mean that all traffic local to the cluster to the LoadBalancer end point is now sent via the LoadBalancer. This allows services like CertManager to work correctly.

This option is currently a workaround for the issue kubernetes/ingress-nginx#3996, should be removed or refactored after the Kubernetes [KEP-1860]

This MR also adds some E2E tests and updates the project Readme.

@vishalanarase
Copy link
Member

LGTM

1 similar comment
@alejandrojnm
Copy link
Member

LGTM

@DMajrekar DMajrekar merged commit 709ee1b into master Apr 30, 2022
@DMajrekar DMajrekar deleted the workaround branch September 16, 2022 09:04
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.

3 participants