a guest Mar 20th, 2019 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. apiVersion: v1
  2. kind: ConfigMap
  3. metadata:
  4.   name: aws-auth
  5.   namespace: kube-system
  6. data:
  7.   mapRoles: |
  8.     - rolearn: <ARN of instance role (not instance profile)>
  9.       username: system:node:{{EC2PrivateDNSName}}
  10.       groups:
  11.         - system:bootstrappers
  12.         - system:nodes
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand