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 support for externalTrafficPolicy on service #220

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

whezzel
Copy link

@whezzel whezzel commented Dec 3, 2024

What this PR does / why we need it:

This adds support for the externalTrafficPolicy setting for the service resources. Setting externalTrafficPolicy to local preserves the client ip for the pod (https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip)

I don't think this fixes any open issues, but it resolves an issue I have this helm chart (Client IPs are not preserved for purposes of logging device accessing ldap through the loadbalancer service)

Pre-submission checklist:

  • [ X ] Did you explain what problem does this PR solve? Or what new features have been added?
  • [ X ] Have you updated the readme?
  • [ X ] Is this PR backward compatible? If it is not backward compatible, please discuss open a ticket first

@jp-gouin jp-gouin merged commit 3dc8ba1 into jp-gouin:master Dec 17, 2024
4 checks passed
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.

2 participants