Skip to content

Commit

Permalink
Add Karpenter IAM policies
Browse files Browse the repository at this point in the history
  • Loading branch information
r-arek authored Apr 6, 2023
1 parent 4c06478 commit 6c8c776
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 6c8c776

Please sign in to comment.