You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change from autoscaling/v2beta2 на apiVersion: autoscaling/v2
The best way is to make it variable according to the needs of users.
Steps to reproduce
Using kubernetes version higher than 1.26
Steps to take
apiVersion: {{ .Values.hpa.apiVersion | default "autoscaling/v2beta2" }}
or if you want to make it extensible to a kubernetes cluster, you can make it with the helm Capabilities .Capabilities.KubeVersion.Version