mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-17 23:13:46 +01:00
18 lines
328 B
Smarty
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}
|