AWSFargateProfile reconciliation fails when trying to ensure policies are attached using Cloudformation IAM Role #5254
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-priority
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
/kind bug
What steps did you take and what happened:
Unsure of exactly how the policies became detached from the IAM roles in the first place, but once they did, the controller refused to be able to attach them with the reconciler permissions error:
The controller role only has permission to
iam:GetPolicy
onarn:aws:iam::aws:policy/AmazonEKSClusterPolicy
, and does not haveiam:AttachRolePolicy
permissions.What did you expect to happen:
The controller could reattach the policies without failure.
Anything else you would like to add:
Environment:
kubectl version
):v1.30.6-eks-7f9249a
/etc/os-release
):The text was updated successfully, but these errors were encountered: