Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created July 1, 2020 15:48
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 velotiotech/f3cb00d7a17a4f446dbe76e56985287d to your computer and use it in GitHub Desktop.
Save velotiotech/f3cb00d7a17a4f446dbe76e56985287d to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: ConfigMap
metadata:
name: aws-auth
namespace: kube-system
data:
mapRoles: |
- rolearn: <ARN of instance role (not instance profile)>
username: system:node:{{EC2PrivateDNSName}}
groups:
- system:bootstrappers
- system:nodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment