Skip to content

eksctl command to get and delete Accounts in iamidentitymapping #2657

@KR411-prog

Description

@KR411-prog

What happened?
This is related to #2496
We now have option to create iamidentitymapping for mapAccounts.

However the eksctl get command does not show Accounts,
eksctl get iamidentitymapping --region "us-east-1" --cluster "myeks-project" -o yaml

Also,delete command does not have option to delete Accounts,

eksctl delete iamidentitymapping --help                                              
Delete a IAM identity mapping

Usage: eksctl delete iamidentitymapping [flags]

General flags:
      --all                  Delete all matching mappings instead of just one
      --arn string           ARN of the IAM role or user to create
  -c, --cluster string       EKS cluster name
  -r, --region string        AWS region
  -f, --config-file string   load configuration from a file (or stdin if set to '-')
      --timeout duration     maximum waiting time for any long-running operation (default 25m0s)

We need to add these features.

What you expected to happen?
eksctl get command should display Accounts.
eksctl delete command should have option to delete Accounts.

How to reproduce it?
eksctl get iamidentitymapping --region "us-east-1" --cluster "myeks-project" -o yaml
eksctl delete iamidentitymapping --help

Versions
Please paste in the output of these commands:

$ eksctl version  0.27.0
$ kubectl version 1.19.2

Metadata

Metadata

Assignees

Labels

kind/featureNew feature or requestpriority/important-longtermImportant over the long term, but may not be currently staffed and/or may require multiple releases

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions