Add aws-batch as a service-name option to eksctl create imidentitymapping.
Example:
$ eksctl create iamidentitymapping --cluster dev --service-name aws-batch --namespace my-batch-namespace
Why do you want this feature?
AWS Batch just released support for Amazon EKS, here is an overview.
The getting started guide has all the manual steps that provides AWS Batch access to a customer EKS cluster: creating a role/clusterrole with permissions, rolebindings and finally creating a mapping in aws-auth configmap via eksctl create iamidentitymapping. We would like that to be a simple command in eksctl, just like adding access for EMR. This would very much help our customers when getting started with AWS Batch on Amazon EKS and lower the occurrence of frustrating configuration errors.
Hello rupard-aws :wave: Thank you for opening an issue in eksctl project. The team will review the issue and aim to respond within 1-5 business days. Meanwhile, please read about the Contribution and Code of Conduct guidelines here. You can find out more information about eksctl on our website
What feature/behavior/change do you want?
Add
aws-batch
as a service-name option toeksctl create imidentitymapping
.Example:
Why do you want this feature?
AWS Batch just released support for Amazon EKS, here is an overview.
The getting started guide has all the manual steps that provides AWS Batch access to a customer EKS cluster: creating a role/clusterrole with permissions, rolebindings and finally creating a mapping in aws-auth configmap via
eksctl create iamidentitymapping
. We would like that to be a simple command in eksctl, just like adding access for EMR. This would very much help our customers when getting started with AWS Batch on Amazon EKS and lower the occurrence of frustrating configuration errors.