-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #556 from aws-quickstart/feature/karpenter
Karpenter support for v0.22.0, upgrade guide updates, node role and instance profile cfn exports available as imports
- Loading branch information
Showing
6 changed files
with
437 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
export const KarpenterControllerPolicy = { | ||
"Version": "2012-10-17", | ||
"Statement": [ | ||
{ | ||
"Effect": "Allow", | ||
"Action": [ | ||
"ec2:CreateLaunchTemplate", | ||
"ec2:CreateFleet", | ||
"ec2:RunInstances", | ||
"ec2:CreateTags", | ||
"iam:PassRole", | ||
"ec2:TerminateInstances", | ||
"ec2:DeleteLaunchTemplate", | ||
"ec2:DescribeLaunchTemplates", | ||
"ec2:DescribeInstances", | ||
"ec2:DescribeSecurityGroups", | ||
"ec2:DescribeSubnets", | ||
"ec2:DescribeInstanceTypes", | ||
"ec2:DescribeInstanceTypeOfferings", | ||
"ec2:DescribeAvailabilityZones", | ||
"ssm:GetParameter", | ||
"pricing:GetProducts", | ||
"ec2:DescribeSpotPriceHistory", | ||
], | ||
"Resource": "*" | ||
} | ||
] | ||
"Version": "2012-10-17", | ||
"Statement": [ | ||
{ | ||
"Effect": "Allow", | ||
"Action": [ | ||
// Write Operations | ||
"ec2:CreateLaunchTemplate", | ||
"ec2:CreateFleet", | ||
"ec2:RunInstances", | ||
"ec2:CreateTags", | ||
"ec2:TerminateInstances", | ||
"ec2:DeleteLaunchTemplate", | ||
// Read Operations | ||
"ec2:DescribeLaunchTemplates", | ||
"ec2:DescribeInstances", | ||
"ec2:DescribeSecurityGroups", | ||
"ec2:DescribeSubnets", | ||
"ec2:DescribeImages", | ||
"ec2:DescribeInstanceTypes", | ||
"ec2:DescribeInstanceTypeOfferings", | ||
"ec2:DescribeAvailabilityZones", | ||
"ec2:DescribeSpotPriceHistory", | ||
"ssm:GetParameter", | ||
"pricing:GetProducts", | ||
], | ||
"Resource": "*" | ||
} | ||
] | ||
}; |
Oops, something went wrong.