1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
2
Hi,
Your issue is probably not in the trust policy for the role but in the authorizations given to this role.
Have a look at https://docs.aws.amazon.com/AmazonECR/latest/userguide/ECR_on_EKS.html
You can use your Amazon ECR images with Amazon EKS, but you need to satisfy
the following prerequisites.
For Amazon EKS workloads hosted on managed or self-managed nodes, the Amazon
EKS worker node IAM role (NodeInstanceRole) is required. The Amazon EKS worker
node IAM role must contain the following IAM policy permissions for Amazon ECR.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ecr:BatchCheckLayerAvailability",
"ecr:BatchGetImage",
"ecr:GetDownloadUrlForLayer",
"ecr:GetAuthorizationToken"
],
"Resource": "*"
}
]
}
Best,
Didier
Contenido relevante
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace un año