fix(ci): let the runner plan role read the Karpenter chart (#186)
Some checks are pending
Deploy / deploy-management (push) Waiting to run
Deploy / deploy-external-dev (push) Waiting to run
Deploy / deploy-security (push) Waiting to run
Deploy / deploy-dev (push) Waiting to run
Deploy / deploy-prod (push) Waiting to run
Deploy / deploy-ci (push) Waiting to run

The platform plan fetches a public ECR token. That call was only granted to the apply role.
This commit is contained in:
Adam Moussa 2026-10-05 20:52:43 -04:00 • committed by GitHub
parent 45ff3a906a
commit e8e60dbad6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -491,6 +491,18 @@ function planPolicy(hcpArn: string, githubArn: string): object {
Action: ["kms:ListAliases", "ssm:DescribeParameters"],
Resource: "*",
},
{
Sid: "EcrPublicAuth",
Effect: "Allow",
Action: "ecr-public:GetAuthorizationToken",
Resource: "*",
},
{
Sid: "StsForPublicEcr",
Effect: "Allow",
Action: "sts:GetServiceBearerToken",
Resource: "*",
},
{
Sid: "EcrReads",
Effect: "Allow",