Files
terraform-aws-eks/templates/config-map-aws-auth.yaml.tpl
Max Williams 58c4a0e30f initial commit
2018-07-11 10:21:53 +02:00

18 lines
328 B
Smarty

apiVersion: v1
kind: ConfigMap
metadata:
name: aws-auth
namespace: kube-system
data:
mapRoles: |
- rolearn: ${worker_role_arn}
username: system:node:{{EC2PrivateDNSName}}
groups:
- system:bootstrappers
- system:nodes
${map_roles}
mapUsers: |
${map_users}
mapAccounts: |
${map_accounts}