Skip to content

Commit

Permalink
update: karpenter to v1.0.5 (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaroniscode authored Oct 2, 2024
1 parent ab47ea9 commit 8ec4471
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions pkg/application/karpenter/karpenter.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
// GitHub: https://github.com/awslabs/karpenter
// Helm: https://github.com/awslabs/karpenter/tree/main/charts/karpenter
// Repo: https://gallery.ecr.aws/karpenter/controller
// Version: Latest is v0.37.0 (as of 6/6/24)
// Version: Latest is v1.0.5 (as of 10/2/24)

func NewApp() *application.Application {
options, flags := newOptions()
Expand Down Expand Up @@ -173,7 +173,6 @@ Statement:
Effect: Allow
Resource: "*"
Action:
- ec2:DescribeAvailabilityZones
- ec2:DescribeImages
- ec2:DescribeInstances
- ec2:DescribeInstanceTypeOfferings
Expand Down Expand Up @@ -208,7 +207,9 @@ Statement:
Action: iam:PassRole
Condition:
StringEquals:
iam:PassedToService: ec2.amazonaws.com
iam:PassedToService:
- ec2.amazonaws.com
- ec2.amazonaws.com.cn
- Sid: AllowScopedInstanceProfileCreationActions
Effect: Allow
Resource: arn:{{ .Partition }}:iam::{{ .Account }}:instance-profile/*
Expand Down
4 changes: 2 additions & 2 deletions pkg/application/karpenter/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ func newOptions() (options *KarpenterOptions, flags cmd.Flags) {
Namespace: "karpenter",
ServiceAccount: "karpenter",
DefaultVersion: &application.LatestPrevious{
LatestChart: "1.0.0",
Latest: "1.0.0",
LatestChart: "1.0.5",
Latest: "1.0.5",
PreviousChart: "1.0.0",
Previous: "1.0.0",
},
Expand Down

0 comments on commit 8ec4471

Please sign in to comment.