eks: Support latest AWS Load Balancer Controller versions
Describe the feature
Latest version as of now is 2.13.2, but CDK only supports versions up to 2.8.2 (alb-controller.ts)
Use Case
I would like to use the latest controller version without manual setup
Proposed Solution
No response
Other Information
No response
Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
AWS CDK Library version (aws-cdk-lib)
2.201.0
AWS CDK CLI version
2.1018.1
Environment details (OS name and version, etc.)
Hi @arlampin,
Thank you for reporting this issue. You're absolutely right that CDK is currently lagging behind the latest AWS Load Balancer Controller releases. The CDK currently supports versions up to 2.8.2, while the latest available version is 2.13.2.
This is a recurring pattern we've seen in issues like #31082 and #25307, where the community requests support for newer controller versions. The fix involves:
- Adding new version constants to the AlbControllerVersion class
- Adding corresponding IAM policy files for each version
- Ensuring proper Helm chart version mapping
This is a great opportunity for community contribution! The implementation is straightforward and follows an established pattern. Each new version requires: • A new static readonly property in AlbControllerVersion • The corresponding IAM policy JSON file in the addons directory • Proper Helm chart version mapping
Would you be interested in contributing a PR to add support for the missing versions (2.9.0 through 2.13.2)? I'd be happy to provide guidance on the implementation details.
As a workaround until this is implemented, you can use AlbControllerVersion.of('v2.13.2', 'helm-chart-version') with a custom IAM policy, though this requires more manual configuration.
Would you be interested in contributing a PR to add support for the missing versions (2.9.0 through 2.13.2)? I'd be happy to provide guidance on the implementation details.
Yes, I can try to get this done.
Hi @pahud I tried to contribute this in #34761, but ran into some problems with integration test running