1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
2
I understand that you are running kubectl command in your codebuild buildspec , so you need to make sure that your IAM service role used by your codebuild is added in aws-auth config map of eks cluster.
Let's say, your codebuld service arn is "arn:aws:iam::<account number>:role/service-role/codebuild-test-service-role", then role arn without path (ex. "arn:aws:iam::<account number>:role/codebuild-test-service-role") need to be added in aws-auth configmap of EKS Cluster.
To provide the access to IAM role in aws-auth configmap, you can refer AWS document, which will help to understand how aws-auth configmap can be updated.
Hope this helps.
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 일 년 전