diff --git a/charts/cluster-autoscaler/Chart.yaml b/charts/cluster-autoscaler/Chart.yaml index 14370e658e1e..c2b962cce174 100644 --- a/charts/cluster-autoscaler/Chart.yaml +++ b/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.23.1 +version: 9.23.2 diff --git a/charts/cluster-autoscaler/templates/_helpers.tpl b/charts/cluster-autoscaler/templates/_helpers.tpl index 25d1eb8245f7..944fd1cf6f24 100644 --- a/charts/cluster-autoscaler/templates/_helpers.tpl +++ b/charts/cluster-autoscaler/templates/_helpers.tpl @@ -70,8 +70,6 @@ Return the appropriate apiVersion for podsecuritypolicy. {{- $kubeTargetVersion := default .Capabilities.KubeVersion.GitVersion .Values.kubeTargetVersionOverride }} {{- if semverCompare "<1.10-0" $kubeTargetVersion -}} {{- print "extensions/v1beta1" -}} -{{- else if semverCompare ">1.21-0" $kubeTargetVersion -}} -{{- print "policy/v1" -}} {{- else -}} {{- print "policy/v1beta1" -}} {{- end -}}