Skip to content

Commit

Permalink
add IAM permissions for describing scaling activities
Browse files Browse the repository at this point in the history
  • Loading branch information
njuettner committed Nov 8, 2023
1 parent 2326028 commit b0cf191
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 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]

### Added

- Add addition IAM permission for cluster-autoscaler to describe scaling activities.

## [0.12.0] - 2023-11-02

### Added
Expand Down
1 change: 1 addition & 0 deletions pkg/iam/control_plane_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const controlPlanePolicyTemplate = `{
"autoscaling:DescribeAutoScalingInstances",
"autoscaling:DescribeTags",
"autoscaling:DescribeLaunchConfigurations",
"autoscaling:DescribeScalingActivities",
"ec2:DescribeLaunchTemplateVersions"
],
"Resource": "*",
Expand Down
1 change: 1 addition & 0 deletions pkg/iam/nodes_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const nodesTemplate = `{
"autoscaling:DescribeAutoScalingInstances",
"autoscaling:DescribeTags",
"autoscaling:DescribeLaunchConfigurations",
"autoscaling:DescribeScalingActivities",
"ec2:DescribeLaunchTemplateVersions"
],
"Resource": "*",
Expand Down

0 comments on commit b0cf191

Please sign in to comment.