Update HPA logic for Istio
Package Merge Request
Package Changes
According to the issue here, AWS does a poorly job with versioning scheme, which impacts users running AWS-EKS-1.25+. Therefore, {{- if (semverCompare ">=1.23" .Capabilities.KubeVersion.GitVersion) }}
does not get read and HPA for Istio is being skipped.
Solution:
Changed
{{- if (semverCompare ">=1.23" .Capabilities.KubeVersion.GitVersion) }}
to:
{{- if .Capabilities.APIVersions.Has "autoscaling/v2" -}}
Package MR
(Link to Package MR here)
For Issue
Closes (link to issue here)
Edited by Hitesh Sharma