Skip to content

Instantly share code, notes, and snippets.

@phivid
Created January 7, 2020 11:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phivid/077d3da5879a91d423119b25c8b20308 to your computer and use it in GitHub Desktop.
Save phivid/077d3da5879a91d423119b25c8b20308 to your computer and use it in GitHub Desktop.
~ kubectl -n kube-system describe configmap/aws-auth
Name: aws-auth
Namespace: kube-system
Labels: <none>
Annotations: kubectl.kubernetes.io/last-applied-configuration:
{"apiVersion":"v1","data":{"mapRoles":"- rolearn: arn:aws:iam::<aws_account_id>:role/eks-node-group-example\n username: system:node:{{EC2Priv...
Data
====
mapRoles:
----
- rolearn: arn:aws:iam::<aws_account_id>:role/eks-node-group-example
username: system:node:{{EC2PrivateDNSName}}
groups:
- system:bootstrappers
- system:nodes
- rolearn: arn:aws:iam::<aws_account_id>:role/Admin
username: administrator
groups:
- system:masters
- rolearn: arn:aws:iam::<aws_account_id>:role/eks-deployer
username: deployer-2048
groups:
- deployer-2048
- rolearn: arn:aws:iam::<aws_account_id>:role/eks-readonly
username: readonly
groups:
- readonly
Events: <none>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment