Skip to content

Eks custom node role#4936

Merged
mantis-toboggan-md merged 2 commits intorancher:masterfrom
mantis-toboggan-md:eks-custom-node-role
Jan 10, 2023
Merged

Eks custom node role#4936
mantis-toboggan-md merged 2 commits intorancher:masterfrom
mantis-toboggan-md:eks-custom-node-role

Conversation

@mantis-toboggan-md
Copy link
Member

@mantis-toboggan-md mantis-toboggan-md commented Jan 4, 2023

Fixes #7755 #7756 #7754

The nodeRole field should use the Arn value, see comment here. Additionally, aws role data may be paginated...afaict the IsTruncated/Marker pattern is used across this version of the aws sdk so making this change to the more general describeResource function seems safe.

In addition to depaginating data when relevant, I've increased the max number of items that may be returned to the maximum allowed, 1000, which lets us fetch all our roles in one request; the easiest way to test the depagination code is probably to change MaxItems to a smaller number.

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.

[BUG] EKS Node Instance Role(s) not fully populated with all values stored in AWS Console in RancherUI dropdown

2 participants