File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 with :
4747 role-to-assume : ${{ vars.IAM_ROLE }}
4848 aws-region : ${{ vars.AWS_REGION }}
49- # We only need valid credentials for authentication with ECR, so only ecr:GetAuthorizationToken.
5049 inline-session-policy : >-
5150 {
5251 "Version": "2012-10-17",
5655 "Effect":"Allow",
5756 "Action":"ecr:GetAuthorizationToken",
5857 "Resource":"*"
58+ },
59+ {
60+ "Sid":"AllowECRRead",
61+ "Effect": "Allow",
62+ "Action": "ecr:BatchGetImage",
63+ "Resource": "arn:aws:ecr:us-east-1:602401143452:repository/eks/*"
5964 }
6065 ]
6166 }
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ set -euo pipefail
1616# - yq: YAML processor (https://github.com/mikefarah/yq)
1717# - crane: Container registry tool (https://github.com/google/go-containerregistry/tree/main/cmd/crane)
1818#
19- # Note: AWS credentials are required with any ecr:GetAuthorizationToken permission to access EKS add-on repositories.
19+ # Note: AWS credentials are required with ecr:GetAuthorizationToken and ecr:BatchGetImage permissions to access EKS add-on repositories.
2020
2121CHART_DIR=" charts/aws-mountpoint-s3-csi-driver"
2222VALUES_FILE=" ${CHART_DIR} /values.yaml"
You can’t perform that action at this time.
0 commit comments