aws-load-balancer-controller
aws-load-balancer-controller copied to clipboard
feat: support for enabling proxy protocol on specified ports only
Issue
Hi! I am using the LBC with Istio gateway ingress and the proxy protocol activated on the k8s service, but the health check port 15021 on the Istio side does not support this protocol.
Description
Keeping the default behavior with a *
value for the service.beta.kubernetes.io/aws-load-balancer-proxy-protocol
, this change allows you to specify a list of ports (i.e., target groups) on which the proxy protocol will be activated.
Example for Istio:
service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: 80, 443
Checklist
- [x] Added tests that cover your change (if possible)
- [x] Added/modified documentation as required (such as the
README.md
, or thedocs
directory) - [x] Manually tested
- [x] Made sure the title of the PR is a good description that can go into the release notes
BONUS POINTS checklist: complete for good vibes and maybe prizes?! :exploding_head:
- [ ] Backfilled missing tests for code in same general area :tada:
- [ ] Refactored something and made the world a better place :star2: