Skip to content

Instantly share code, notes, and snippets.

@leandrosiow
Last active February 2, 2020 06:10
Show Gist options
  • Save leandrosiow/30d7c0b655ee98fa27f9a4ce84504984 to your computer and use it in GitHub Desktop.
Save leandrosiow/30d7c0b655ee98fa27f9a4ce84504984 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