• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zalando-incubator / kube-ingress-aws-controller / 23140570246
71%

Build:
DEFAULT BRANCH: master
Ran 16 Mar 2026 11:07AM UTC
Jobs 1
Files 27
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Mar 2026 11:05AM UTC coverage: 71.464% (-0.1%) from 71.591%
23140570246

push

github

web-flow
feat: Add support for NLB target group attributes (ProxyProtocolV2, PreserveClientIP) (#783)

Add support for NLB target group attributes (ProxyProtocolV2, PreserveClientIP)
This change adds support for configuring two NLB-specific target group attributes:

1. Proxy Protocol v2: Enable with `--nlb-proxy-protocol-v2` flag (default: false)
   - Enables Proxy Protocol v2 for NLB target groups
   - Opt-in feature, disabled by default

2. Preserve Client IP: Configure with `--nlb-preserve-client-ip` flag (default: true)
   - Preserves client IP address in NLB target group connections
   - Enabled by default

These attributes are only applied to Network Load Balancer target groups and do not
affect Application Load Balancers.

BREAKING CHANGE:

The `preserve_client_ip` attribute is now explicitly set to true by the controller
on all NLB target groups. Previously, this attribute was not explicitly set, which
relied on AWS NLB's default behavior (which is also true).

If your NLB target groups currently have `preserve_client_ip=false` set outside of
the controller, updating to this version will override it to true. To maintain the
previous behavior of `preserve_client_ip=false`, pass the `--nlb-preserve-client-ip=false`
flag when running the controller.

Changes:
- Add NLB attribute flags to controller CLI
- Extend AWS adapter with WithNLBProxyProtocolV2() and WithNLBPreserveClientIP() methods
- Update CloudFormation template generation to conditionally add NLB attributes
- Add comprehensive test coverage (5 test cases)
- Update README with v0.20 upgrade notes and breaking change documentation

Signed-off-by: speruri <surya.srikar.peruri@zalando.de>

23 of 37 new or added lines in 3 files covered. (62.16%)

2910 of 4072 relevant lines covered (71.46%)

11.98 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
42.17
0.45% controller.go
12
33.55
-0.54% aws/adapter.go
Jobs
ID Job ID Ran Files Coverage
1 23140570246.1 16 Mar 2026 11:07AM UTC 27
71.46
GitHub Action Run
Source Files on build 23140570246
  • Tree
  • List 27
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 926684cc on github
  • Prev Build on master (#23015770512)
  • Next Build on master (#23143357000)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc