mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-04-10 11:13:38 +02:00
initial commit
This commit is contained in:
1
templates/config-map-aws-auth-map_accounts.yaml.tpl
Normal file
1
templates/config-map-aws-auth-map_accounts.yaml.tpl
Normal file
@@ -0,0 +1 @@
|
||||
- "${account_number}"
|
||||
4
templates/config-map-aws-auth-map_roles.yaml.tpl
Normal file
4
templates/config-map-aws-auth-map_roles.yaml.tpl
Normal file
@@ -0,0 +1,4 @@
|
||||
- rolearn: ${role_arn}
|
||||
username: ${username}
|
||||
groups:
|
||||
- ${group}
|
||||
4
templates/config-map-aws-auth-map_users.yaml.tpl
Normal file
4
templates/config-map-aws-auth-map_users.yaml.tpl
Normal file
@@ -0,0 +1,4 @@
|
||||
- userarn: ${user_arn}
|
||||
username: ${username}
|
||||
groups:
|
||||
- ${group}
|
||||
@@ -5,8 +5,13 @@ metadata:
|
||||
namespace: kube-system
|
||||
data:
|
||||
mapRoles: |
|
||||
- rolearn: ${role_arn}
|
||||
- rolearn: ${worker_role_arn}
|
||||
username: system:node:{{EC2PrivateDNSName}}
|
||||
groups:
|
||||
- system:bootstrappers
|
||||
- system:nodes
|
||||
${map_roles}
|
||||
mapUsers: |
|
||||
${map_users}
|
||||
mapAccounts: |
|
||||
${map_accounts}
|
||||
|
||||
Reference in New Issue
Block a user