From 2c7c6c48fbca4330649e7db5bb5a956ce6b8b2d6 Mon Sep 17 00:00:00 2001 From: Jack Francis Date: Wed, 17 May 2023 14:14:46 -0700 Subject: [PATCH] helm: enable Cluster API machinepool support --- charts/cluster-autoscaler/Chart.yaml | 4 ++-- charts/cluster-autoscaler/README.md | 2 +- charts/cluster-autoscaler/templates/clusterrole.yaml | 2 ++ charts/cluster-autoscaler/templates/role.yaml | 2 ++ charts/cluster-autoscaler/values.yaml | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/charts/cluster-autoscaler/Chart.yaml b/charts/cluster-autoscaler/Chart.yaml index fd11b4490beb..46681589a527 100644 --- a/charts/cluster-autoscaler/Chart.yaml +++ b/charts/cluster-autoscaler/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -appVersion: 1.26.2 +appVersion: 1.27.1 description: Scales Kubernetes worker nodes within autoscaling groups. engine: gotpl home: https://github.com/kubernetes/autoscaler @@ -11,4 +11,4 @@ name: cluster-autoscaler sources: - https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler type: application -version: 9.28.0 +version: 9.29.0 diff --git a/charts/cluster-autoscaler/README.md b/charts/cluster-autoscaler/README.md index 6580cff5d378..2683e8543b61 100644 --- a/charts/cluster-autoscaler/README.md +++ b/charts/cluster-autoscaler/README.md @@ -383,7 +383,7 @@ vpa: | image.pullPolicy | string | `"IfNotPresent"` | Image pull policy | | image.pullSecrets | list | `[]` | Image pull secrets | | image.repository | string | `"registry.k8s.io/autoscaling/cluster-autoscaler"` | Image repository | -| image.tag | string | `"v1.26.2"` | Image tag | +| image.tag | string | `"v1.27.1"` | Image tag | | kubeTargetVersionOverride | string | `""` | Allow overriding the `.Capabilities.KubeVersion.GitVersion` check. Useful for `helm template` commands. | | magnumCABundlePath | string | `"/etc/kubernetes/ca-bundle.crt"` | Path to the host's CA bundle, from `ca-file` in the cloud-config file. | | magnumClusterName | string | `""` | Cluster name or ID in Magnum. Required if `cloudProvider=magnum` and not setting `autoDiscovery.clusterName`. | diff --git a/charts/cluster-autoscaler/templates/clusterrole.yaml b/charts/cluster-autoscaler/templates/clusterrole.yaml index e3d36557ffd4..63a65a044421 100644 --- a/charts/cluster-autoscaler/templates/clusterrole.yaml +++ b/charts/cluster-autoscaler/templates/clusterrole.yaml @@ -152,6 +152,8 @@ rules: resources: - machinedeployments - machinedeployments/scale + - machinepools + - machinepools/scale - machines - machinesets verbs: diff --git a/charts/cluster-autoscaler/templates/role.yaml b/charts/cluster-autoscaler/templates/role.yaml index b22fb58be8a4..1fe013fe1ac7 100644 --- a/charts/cluster-autoscaler/templates/role.yaml +++ b/charts/cluster-autoscaler/templates/role.yaml @@ -50,6 +50,8 @@ rules: resources: - machinedeployments - machinedeployments/scale + - machinepools + - machinepools/scale - machines - machinesets verbs: diff --git a/charts/cluster-autoscaler/values.yaml b/charts/cluster-autoscaler/values.yaml index 2f3e5cf609e3..048de6dc46a6 100644 --- a/charts/cluster-autoscaler/values.yaml +++ b/charts/cluster-autoscaler/values.yaml @@ -230,7 +230,7 @@ image: # image.repository -- Image repository repository: registry.k8s.io/autoscaling/cluster-autoscaler # image.tag -- Image tag - tag: v1.26.2 + tag: v1.27.1 # image.pullPolicy -- Image pull policy pullPolicy: IfNotPresent ## Optionally specify an array of imagePullSecrets.