Skip to content

Commit

Permalink
Merge pull request #90 from r-arek/main
Browse files Browse the repository at this point in the history
fix: Add Karpenter IAM policies
  • Loading branch information
andskli authored Apr 6, 2023
2 parents 4c06478 + 6c8c776 commit 5cbf3f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ export class Karpenter extends Construct {
'ec2:DescribeInstanceTypeOfferings',
'ec2:DescribeAvailabilityZones',
'ssm:GetParameter',
'pricing:GetProducts',
'ec2:DescribeSpotPriceHistory',
],
resources: ['*'],
}),
Expand Down Expand Up @@ -290,4 +292,4 @@ export class Karpenter extends Construct {
let provisioner = this.cluster.addManifest(id, m);
provisioner.node.addDependency(this.chart);
}
}
}

0 comments on commit 5cbf3f4

Please sign in to comment.