Skip to content

Commit

Permalink
Merge pull request #6182 from Shubham82/cherry-picked-of-#5373-upstre…
Browse files Browse the repository at this point in the history
…am-cluster-autoscaler-release-1.25

Backport #5373 [CA] AWS - Update Docs all actions IAM policy into CA1.25
  • Loading branch information
k8s-ci-robot authored Oct 9, 2023
2 parents a4d70f2 + 5d06c2d commit ad004fe
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cluster-autoscaler/cloudprovider/aws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ should be updated to restrict the resources/add conditionals:
"autoscaling:DescribeAutoScalingGroups",
"autoscaling:DescribeAutoScalingInstances",
"autoscaling:DescribeLaunchConfigurations",
"autoscaling:DescribeScalingActivities",
"autoscaling:DescribeTags",
"ec2:DescribeInstanceTypes",
"ec2:DescribeLaunchTemplateVersions"
Expand Down Expand Up @@ -411,7 +412,7 @@ To refresh static list, please run `go run ec2_instance_types/gen.go` under

## Using the AWS SDK vendored in the AWS cloudprovider

If you want to use a newer version of the AWS SDK than the version currently vendored as a direct dependency by Cluster Autoscaler, then you can use the version vendored under this AWS cloudprovider.
If you want to use a newer version of the AWS SDK than the version currently vendored as a direct dependency by Cluster Autoscaler, then you can use the version vendored under this AWS cloudprovider.

The current version vendored is `v1.44.24`.

Expand All @@ -432,12 +433,12 @@ If you want to use custom AWS cloud config e.g. endpoint urls
2. Add the following in your `values.yaml`:
```yaml
cloudConfigPath: config/cloud.conf

extraVolumes:
- name: cloud-config
configMap:
name: cloud-config

extraVolumeMounts:
- name: cloud-config
mountPath: config
Expand All @@ -450,7 +451,7 @@ Please note: it is also possible to mount the cloud config file from host:
- name: cloud-config
hostPath:
path: /path/to/file/on/host

extraVolumeMounts:
- name: cloud-config
mountPath: config/cloud.conf
Expand Down

0 comments on commit ad004fe

Please sign in to comment.