Skip to content

[Bug] 'eksctl create podidentityassociation' does not work in the case of EKS auto-mode #8346

Open
@TarmoKople

Description

@TarmoKople

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions