Skip to content

Commit

Permalink
Merge pull request '#134 Upgrade autoscaler chart' (#141) from upgrad…
Browse files Browse the repository at this point in the history
…e-autoscaler into master

Reviewed-on: https://gitea.obmondo.com/EnableIT/KubeAid/pulls/141
  • Loading branch information
ashish1099 committed Feb 2, 2024
2 parents 50c5406 + f55c238 commit 8237e85
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 20 deletions.
6 changes: 3 additions & 3 deletions argocd-helm-charts/cluster-autoscaler/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: cluster-autoscaler
repository: https://kubernetes.github.io/autoscaler
version: 9.33.0
digest: sha256:a016e8218ae467566991fdfd45c8f474797688da0a319aac1430ffd84ad90df9
generated: "2023-12-05T13:53:12.82554443+05:30"
version: 9.34.1
digest: sha256:ec994920e18684941d721ad7eb458c5c2094da28ddb1ca5dab27d6280607d1de
generated: "2024-02-01T19:54:08.843153852+05:30"
2 changes: 1 addition & 1 deletion argocd-helm-charts/cluster-autoscaler/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ name: cluster-autoscaler
version: 1.21.1
dependencies:
- name: cluster-autoscaler
version: 9.33.0
version: 9.34.1
repository: https://kubernetes.github.io/autoscaler
#repository: "oci://ghcr.io/Obmondo"
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 1.27.2
appVersion: 1.28.2
description: Scales Kubernetes worker nodes within autoscaling groups.
home: https://github.com/kubernetes/autoscaler
icon: https://github.com/kubernetes/kubernetes/raw/master/logo/logo.png
Expand All @@ -10,4 +10,4 @@ name: cluster-autoscaler
sources:
- https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler
type: application
version: 9.33.0
version: 9.34.1
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ vpa:
| azureTenantID | string | `""` | Azure tenant where the resources are located. Required if `cloudProvider=azure` |
| azureUseManagedIdentityExtension | bool | `false` | Whether to use Azure's managed identity extension for credentials. If using MSI, ensure subscription ID, resource group, and azure AKS cluster name are set. You can only use one authentication method at a time, either azureUseWorkloadIdentityExtension or azureUseManagedIdentityExtension should be set. |
| azureUseWorkloadIdentityExtension | bool | `false` | Whether to use Azure's workload identity extension for credentials. See the project here: https://github.com/Azure/azure-workload-identity for more details. You can only use one authentication method at a time, either azureUseWorkloadIdentityExtension or azureUseManagedIdentityExtension should be set. |
| azureVMType | string | `"AKS"` | Azure VM type. |
| azureVMType | string | `"vmss"` | Azure VM type. |
| cloudConfigPath | string | `""` | Configuration file for cloud provider. |
| cloudProvider | string | `"aws"` | The cloud provider where the autoscaler runs. Currently only `gce`, `aws`, `azure`, `magnum` and `clusterapi` are supported. `aws` supported for AWS. `gce` for GCE. `azure` for Azure AKS. `magnum` for OpenStack Magnum, `clusterapi` for Cluster API. |
| clusterAPICloudConfigPath | string | `"/etc/kubernetes/mgmt-kubeconfig"` | Path to kubeconfig for connecting to Cluster API Management Cluster, only used if `clusterAPIMode=kubeconfig-kubeconfig or incluster-kubeconfig` |
Expand All @@ -413,7 +413,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.27.2"` | Image tag |
| image.tag | string | `"v1.28.2"` | Image tag |
| kubeTargetVersionOverride | string | `""` | Allow overriding the `.Capabilities.KubeVersion.GitVersion` check. Useful for `helm template` commands. |
| kwokConfigMapName | string | `"kwok-provider-config"` | configmap for configuring kwok provider |
| magnumCABundlePath | string | `"/etc/kubernetes/ca-bundle.crt"` | Path to the host's CA bundle, from `ca-file` in the cloud-config file. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,6 @@ spec:
secretKeyRef:
key: VMType
name: {{ default (include "cluster-autoscaler.fullname" .) .Values.secretKeyRefNameOverride }}
- name: AZURE_CLUSTER_NAME
valueFrom:
secretKeyRef:
key: ClusterName
name: {{ default (include "cluster-autoscaler.fullname" .) .Values.secretKeyRefNameOverride }}
{{- if .Values.azureUseWorkloadIdentityExtension }}
- name: ARM_USE_WORKLOAD_IDENTITY_EXTENSION
value: "true"
Expand All @@ -193,11 +188,6 @@ spec:
secretKeyRef:
key: ClientSecret
name: {{ default (include "cluster-autoscaler.fullname" .) .Values.secretKeyRefNameOverride }}
- name: AZURE_NODE_RESOURCE_GROUP
valueFrom:
secretKeyRef:
key: NodeResourceGroup
name: {{ default (include "cluster-autoscaler.fullname" .) .Values.secretKeyRefNameOverride }}
{{- end }}
{{- else if eq .Values.cloudProvider "exoscale" }}
- name: EXOSCALE_API_KEY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ azureUseManagedIdentityExtension: false
azureUseWorkloadIdentityExtension: false

# azureVMType -- Azure VM type.
azureVMType: "AKS"
azureVMType: "vmss"

# cloudConfigPath -- Configuration file for cloud provider.
cloudConfigPath: ""
Expand Down Expand Up @@ -222,7 +222,7 @@ image:
# image.repository -- Image repository
repository: registry.k8s.io/autoscaling/cluster-autoscaler
# image.tag -- Image tag
tag: v1.27.2
tag: v1.28.2
# image.pullPolicy -- Image pull policy
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
Expand Down

0 comments on commit 8237e85

Please sign in to comment.