Skip to content

Conversation

@alexissellier
Copy link
Contributor

@alexissellier alexissellier commented Oct 27, 2025

Description

Add the possibility to create inline policy instead of a managed one for the controller role to overcome the characters limit.

Motivation and Context

Following the discussion on #3512

Breaking Changes

No breaking change

How Has This Been Tested?

I have deployed the change on a live cluster and checked Karpenter behavior when scaling event and node termination event occurred

  • I have executed pre-commit run -a on my pull request

…dules#3512)

Signed-off-by: Alexis Sellier <3765063+alexissellier@users.noreply.github.com>
Signed-off-by: Alexis Sellier <3765063+alexissellier@users.noreply.github.com>
@alexissellier alexissellier marked this pull request as draft October 27, 2025 20:50
@alexissellier alexissellier marked this pull request as ready for review October 27, 2025 21:04
Copy link
Member

@bryantbiggs bryantbiggs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great - a few minor adjustments

@bryantbiggs bryantbiggs changed the title feat: Allow using inline policy for controller role (#3512) feat: Allow using inline policy for Karpenter controller role to mitigate policy size LimitExceeded error Oct 27, 2025
alexissellier and others added 3 commits October 27, 2025 22:26
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
@alexissellier alexissellier marked this pull request as draft October 27, 2025 21:30
Signed-off-by: Alexis Sellier <3765063+alexissellier@users.noreply.github.com>
Signed-off-by: Alexis Sellier <3765063+alexissellier@users.noreply.github.com>
@alexissellier alexissellier marked this pull request as ready for review October 27, 2025 21:38
Copy link
Member

@bryantbiggs bryantbiggs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great, thank you!

@bryantbiggs bryantbiggs merged commit 0659a8d into terraform-aws-modules:master Oct 27, 2025
20 checks passed
antonbabenko pushed a commit that referenced this pull request Oct 27, 2025
## [21.8.0](v21.7.0...v21.8.0) (2025-10-27)

### Features

* Allow using inline policy for Karpenter controller role to mitigate policy size `LimitExceeded` error ([#3563](#3563)) ([0659a8d](0659a8d)), closes [#3512](#3512)
@antonbabenko
Copy link
Member

This PR is included in version 21.8.0 🎉

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