Open
Description
eksctl does not check whether EKS is using auto-mode or not. In EKS auto-mode, there is no need to check whether the eks-pod-identity-agent is installed or not, because eks-pod-identity-agent is part of the EKS auto-mode.
What were you trying to accomplish?
I tried to create a new podidentityassociation.
eksctl create podidentityassociation .....
What happened?
Error: the "eks-pod-identity-agent" addon must be installed to create pod identity associations; please enable it using `eksctl ....
How to reproduce it?
Run again
eksctl create podidentityassociation .....
Logs
Anything else we need to know?
The IsPodIdentityAgentInstalled function in the file pkg/actions/podidentityassociation/migrator.go does not check whether EKS is using auto-mode or not.
Created pull request #8345
Versions
$ eksctl info
eksctl version: 0.207.0
kubectl version: v1.29.2
OS: linux