File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 79
79
80
80
|===
81
81
82
+ If you are deploying this architecture to an Amazon EKS cluster, you would need to give the Lambda
83
+ execution role permissions in Amazon EKS cluster. You can get the ARN of your Lambda execution role
84
+ from the Outputs tab in the CloudFormation template. Refer to this
85
+ link:https://docs.aws.amazon.com/eks/latest/userguide/add-user-role.html[User Guide] for detailed
86
+ instructions.
87
+
88
+ 1. Edit the `aws-auth` ConfigMap of your cluster.
89
+
90
+ kubectl -n kube-system edit configmap/aws-auth
91
+
92
+ 2. Add your Lambda execution role to the config
93
+
94
+ # Please edit the object below. Lines beginning with a '#' will be ignored,
95
+ # and an empty file will abort the edit. If an error occurs while saving this file will be
96
+ # reopened with the relevant failures.
97
+ #
98
+ apiVersion: v1
99
+ data:
100
+ mapRoles: |
101
+ - rolearn: arn:aws:iam::<AWS Account ID>:role/devel-worker-nodes-NodeInstanceRole-74RF4UBDUKL6
102
+ username: system:node:{{EC2PrivateDNSName}}
103
+ groups:
104
+ - system:bootstrappers
105
+ - system:nodes
106
+ - rolearn: arn:aws:iam::<AWS Account ID>:role/<your lambda execution role>
107
+ username: admin
108
+ groups:
109
+ - system:masters
110
+
82
111
=== Test CI/CD platform
83
112
84
113
Install credential helper
You can’t perform that action at this time.
0 commit comments