You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✋ I have searched the open/closed issues and my issue is not listed.
Please describe your question here
In previous version of blueprints addons, Karpenter policy included a iam:PassRole section that had a wildcard constraint but in V5, it has been changed to only allow aws_iam_role.karpenter[0].arn.
I want to know the rationale of this change, especially since it's not configurable unless creation of IAM resaources is done manually. We bumped into this because after upgrade, nodes couldn't join the cluste and we had to add the PassRole policy section manually to include the ondemand nodes ASG role. (We have one ASG with two nodes, but other nodes are managed by Karpenter)
"error": "creating machine, creating instance, with fleet error(s), UnauthorizedOperation: You are not authorized to perform this operation.
Karpenter should only allow passing the role used by the nodes it creates, which is why this is restricted in this project. There have been a number of changes in the upstream Karpenter project which we are planning to re-align with on the next breaking change. You can track that effort in #286
Please describe your question here
In previous version of blueprints addons, Karpenter policy included a iam:PassRole section that had a wildcard constraint but in V5, it has been changed to only allow
aws_iam_role.karpenter[0].arn
.terraform-aws-eks-blueprints-addons/main.tf
Line 2729 in d45aada
I want to know the rationale of this change, especially since it's not configurable unless creation of IAM resaources is done manually. We bumped into this because after upgrade, nodes couldn't join the cluste and we had to add the PassRole policy section manually to include the ondemand nodes ASG role. (We have one ASG with two nodes, but other nodes are managed by Karpenter)
"error": "creating machine, creating instance, with fleet error(s), UnauthorizedOperation: You are not authorized to perform this operation.
Please let me know if more information is needed.
The text was updated successfully, but these errors were encountered: