Skip to content

Commit

Permalink
Adding the fix for unauthorized error on EKS console
Browse files Browse the repository at this point in the history
  • Loading branch information
Palavalasa committed Dec 4, 2020
1 parent 6887a7a commit ea234a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions content/using_ec2_spot_instances_with_eks/eksctl/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@ arn:aws:iam::<AWS_Account_Number>:role/<RoleName>
Edit the ConfigMap **aws-auth** using the below command

```
kubectl describe configmap -n kube-system aws-auth
kubectl edit configmap -n kube-system aws-auth
```

Add the below snippet at the end, that will add the IAM role to the **masters** group on EKS cluster RBAC, thereby assigning a **cluster-admin** role on the cluster. Please make sure you replace the `<AWS_Account_Number>` and `<RoleName>` with you AWS Account Number and IAM Role Name respectively
Add the below snippet at the end, that will add the IAM role to the **masters** group on EKS cluster RBAC, thereby assigning a **cluster-admin** role on the cluster. Please refer the documentation [here](https://docs.aws.amazon.com/eks/latest/userguide/add-user-role.html)

Please make sure to replace the `<AWS_Account_Number>` and `<RoleName>` with your AWS Account Number and IAM Role Name respectively

```
- groups:
Expand Down

0 comments on commit ea234a8

Please sign in to comment.