-
Notifications
You must be signed in to change notification settings - Fork 4
/
aws-auth-cm.yml
30 lines (30 loc) · 1.08 KB
/
aws-auth-cm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
apiVersion: v1
kind: ConfigMap
metadata:
name: aws-auth
namespace: kube-system
data:
mapRoles: |
- rolearn: arn:aws:iam::<AWS Account>:role/eksctl-<clustername>-nodegroup-ng-<role of this nodegroup from IAM Roles>
username: system:node:{{EC2PrivateDNSName}}
groups:
- system:bootstrappers
- system:nodes
- rolearn: arn:aws:iam::<AWS Account>:role/eksctl-<clustername>-nodegroup-ng-<role of this nodegroup from IAM Roles>
username: system:node:{{EC2PrivateDNSName}}
groups:
- system:bootstrappers
- system:nodes
- rolearn: arn:aws:iam::<AWS Account>:role/eksctl-<clustername>-nodegroup-ng-<role of this nodegroup from IAM Roles>
username: system:node:{{EC2PrivateDNSName}}
groups:
- system:bootstrappers
- system:nodes
- rolearn: arn:aws:iam::<AWS Account>:role/eksctl-<clustername>-cluster-ServiceRole-<cluster service role from IAM Roles>
groups:
- admin
mapUsers: |
- userarn: arn:aws:iam::<AWS Account>:user/mickeymouse
username: mickeymouse
groups:
- admin