There was an error while loading. Please reload this page.
1 parent 356c904 commit a022c82Copy full SHA for a022c82
helm/aws-load-balancer-controller/templates/hpa.yaml
@@ -1,5 +1,5 @@
1
{{- if .Values.autoscaling.enabled }}
2
-{{- if (semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion)}}
+{{- if (semverCompare ">=1.23-0" .Capabilities.KubeVersion.Version)}}
3
apiVersion: autoscaling/v2
4
{{- else }}
5
apiVersion: autoscaling/v2beta2
@@ -31,4 +31,4 @@ spec:
31
{{- if .Values.autoscaling.autoscaleBehavior }}
32
behavior: {{ toYaml .Values.autoscaling.autoscaleBehavior | nindent 4 }}
33
{{- end }}
34
-{{- end }}
+{{- end }}
0 commit comments