File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -252,6 +252,21 @@ Resources:
252
252
KubernetesGroups :
253
253
- zalando:administrator
254
254
Type : " STANDARD"
255
+ {{- if eq .Cluster.Environment "e2e" }}
256
+ EKSAccessEntryManualAdministratorAuth :
257
+ Type : " AWS::EKS::AccessEntry"
258
+ Properties :
259
+ AccessPolicies :
260
+ - AccessScope :
261
+ Type : " cluster"
262
+ PolicyArn : " arn:aws:eks::aws:cluster-access-policy/AmazonEKSClusterAdminPolicy"
263
+ ClusterName : !Ref EKSCluster
264
+ PrincipalArn : !Sub "arn:aws:iam::${AWS::AccountId}:role/Manual"
265
+ Username : !Sub "arn:aws:sts::${AWS::AccountId}:assumed-role/Manual/{{`{{SessionName}}`}}"
266
+ KubernetesGroups :
267
+ - zalando:administrator
268
+ Type : " STANDARD"
269
+ {{- end }}
255
270
EKSAddonPodIdentityAgent :
256
271
Type : AWS::EKS::Addon
257
272
Properties :
You can’t perform that action at this time.
0 commit comments