Repository navigation
Add IAM Workload Identity support to pod identity associations - #8938
Merged
Merged
Conversation
Contributor
|
Hello knottnt 👋 Thank you for opening a Pull Request in |
naclonts
previously approved these changes
Dec 1, 2026
naclonts
approved these changes
Dec 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds IAM Workload Identity support to EKS Pod Identity associations.
Users can enable workload identity when creating or updating an association by supplying an IAM Workload Identity provider and template:
The create and update commands also support:
--workload-identity-template-arn--workload-identity-provider-arn--enable-workload-identity--disable-workload-identityDisabling workload identity retains the provider and template ARNs, so it can be re-enabled without specifying them again.
eksctl get podidentityassociationnow reports workload identity state in table, JSON, and YAML output.The validation covers:
targetRoleARNfrom being enabled at the same time, including updates where one is already configured.workloadIdentityConfigunder add-on-managed associations, because the add-on APIs do not support it.For clusters that use the
eks-pod-identity-agentadd-on, eksctl warns when its version is older thanv1.5.0-eksbuild.3. Auto Mode clusters skip this check because the agent is part of the node image.Roles created by eksctl keep the standard Pod Identity trust policy with
sts:AssumeRoleandsts:TagSession; workload identity requires no additional trust-policy permissions.eksctl does not create or manage the IAM Workload Identity provider or template. Users create those resources separately and pass their ARNs to the association.
Manual testing
Manually tested the following against live EKS clusters:
get podidentityassociationoutput.sts:AssumeRoleandsts:TagSession.sts:SetContext.Checklist
README.md, or theuserdocsdirectory)area/nodegroup) and kind (e.g.kind/improvement)BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯