1
0
mirror of https://github.com/terraform-aws-modules/terraform-aws-eks.git synced 2025-09-09 19:32:58 +08:00
Files
terraform-aws-eks/templates/config-map-aws-auth.yaml.tpl
T
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}