Skip to content

Commit

Permalink
Fix malformed cluster-autoscaler policy (#225)
Browse files Browse the repository at this point in the history
* fix malformed cluster-autoscaler policy

* fix malformed cluster-autoscaler policy
  • Loading branch information
njuettner authored Nov 10, 2023
1 parent cf59acf commit 38b970a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Fix malformed cluster-autoscaler policy.

## [0.13.0] - 2023-11-10

### Added
Expand Down
2 changes: 1 addition & 1 deletion controllers/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ var clusterAutoscalerRoleInfo = RoleInfo{
"autoscaling:DescribeScalingActivities",
"autoscaling:DescribeTags",
"ec2:DescribeInstanceTypes",
"ec2:DescribeLaunchTemplateVersions",
"ec2:DescribeLaunchTemplateVersions"
],
"Resource": "*"
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/iam/cluster_autoscaler_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const clusterAutoscalerPolicyTemplate = `{
"autoscaling:DescribeScalingActivities",
"autoscaling:DescribeTags",
"ec2:DescribeInstanceTypes",
"ec2:DescribeLaunchTemplateVersions",
"ec2:DescribeLaunchTemplateVersions"
],
"Resource": "*"
},
Expand Down

0 comments on commit 38b970a

Please sign in to comment.