Skip to content

Instantly share code, notes, and snippets.

@nivogt
Created February 18, 2022 10:28
Show Gist options
  • Save nivogt/f545abd7bedc370ed95bb4d49c452204 to your computer and use it in GitHub Desktop.
Save nivogt/f545abd7bedc370ed95bb4d49c452204 to your computer and use it in GitHub Desktop.
apiVersion: v1
data:
mapRoles: |
- groups:
- system:bootstrappers
- system:nodes
rolearn: arn:aws:iam::XXXXXX:role/NodeInstanceRole
username: system:node:{{EC2PrivateDNSName}}
mapUsers: |
- userarn: arn:aws:iam::XXXXXX:user/myuser
username: admin
groups:
- system:masters
kind: ConfigMap
metadata:
name: aws-auth
namespace: kube-system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment