eksctl utils update-aws-node removes role annotation #2043
Labels
closed/duplicate
kind/bug
needs-investigation
priority/important-soon
Ideally to be resolved in time for the next release
What happened?
I ran
eksctl utils update-aws-node
on my cluster. After upgrading, aws-node would no longer run due to losing its IAM role annotation in the aws-node serviceaccount, which let it useAmazonEKS_CNI_Policy
(as shown here)I had previously removed the arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy from my nodegroups and added it to an iamservice account as shown here:
What you expected to happen?
eksctl utils update-aws-node
should maintain annotations on the serviceaccount if there is an iam: serviceaccount definition forkube-system/aws-node
in the config yaml.How to reproduce it?
eksctl utils update-aws-node
Anything else we need to know?
Not really?
Versions
eksctl version 0.17.0
kubectl version
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.1", GitCommit:"7879fc12a63337efff607952a323df90cdc7a335", GitTreeState:"clean", BuildDate:"2020-04-10T21:53:51Z", GoVersion:"go1.14.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"15+", GitVersion:"v1.15.11-eks-af3caf", GitCommit:"af3caf6136cd355f467083651cc1010a499f59b1", GitTreeState:"clean", BuildDate:"2020-03-27T21:51:36Z", GoVersion:"go1.12.17", Compiler:"gc", Platform:"linux/amd64"}
Logs
N/A
The text was updated successfully, but these errors were encountered: