diff --git a/cluster-autoscaler/charts/cluster-autoscaler/Chart.yaml b/cluster-autoscaler/charts/cluster-autoscaler/Chart.yaml index 0ddaa01df96..ba21205cbd5 100644 --- a/cluster-autoscaler/charts/cluster-autoscaler/Chart.yaml +++ b/cluster-autoscaler/charts/cluster-autoscaler/Chart.yaml @@ -11,4 +11,4 @@ name: cluster-autoscaler sources: - https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler type: application -version: 9.52.0 +version: 9.52.1 diff --git a/cluster-autoscaler/charts/cluster-autoscaler/templates/clusterrole.yaml b/cluster-autoscaler/charts/cluster-autoscaler/templates/clusterrole.yaml index e139db64052..6037ce73539 100644 --- a/cluster-autoscaler/charts/cluster-autoscaler/templates/clusterrole.yaml +++ b/cluster-autoscaler/charts/cluster-autoscaler/templates/clusterrole.yaml @@ -53,8 +53,12 @@ rules: verbs: - watch - list +{{- if (eq .Values.cloudProvider "kwok") }} - create +{{- end }} +{{- if or (eq .Values.cloudProvider "kwok") (eq .Values.cloudProvider "huaweicloud") }} - delete +{{- end }} - get - update - apiGroups: