mirror of https://github.com/kubernetes/kops.git
Merge pull request #3346 from rushtehrani/update-autoscaling-policy
Automatic merge from submit-queue add autoscaling:DescribeLaunchConfigurations permission As of 0.6.1, Cluster Autoscaler supports [scaling node groups from/to 0](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler/cloudprovider/aws#scaling-a-node-group-to-0), but requires the `autoscaling:DescribeLaunchConfigurations` permission. It'd be great to have this in kops since this permission needs to be re-added back to the master policy every time the cluster is updated.
This commit is contained in:
commit
ec074bb473
|
@ -142,6 +142,7 @@ func (b *IAMPolicyBuilder) BuildAWSIAMPolicy() (*IAMPolicy, error) {
|
|||
Action: stringorslice.Of(
|
||||
"autoscaling:DescribeAutoScalingGroups",
|
||||
"autoscaling:DescribeAutoScalingInstances",
|
||||
"autoscaling:DescribeLaunchConfigurations",
|
||||
"autoscaling:SetDesiredCapacity",
|
||||
"autoscaling:TerminateInstanceInAutoScalingGroup",
|
||||
),
|
||||
|
|
|
@ -580,6 +580,7 @@
|
|||
"Action": [
|
||||
"autoscaling:DescribeAutoScalingGroups",
|
||||
"autoscaling:DescribeAutoScalingInstances",
|
||||
"autoscaling:DescribeLaunchConfigurations",
|
||||
"autoscaling:SetDesiredCapacity",
|
||||
"autoscaling:TerminateInstanceInAutoScalingGroup"
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue