Netflix / consoleme

A Central Control Plane for AWS Permissions and Access
Apache License 2.0
3.11k stars 252 forks source link

9356 update autoscaling version (#1) #9357

Open kylefuhrmanncalm opened 1 year ago

kylefuhrmanncalm commented 1 year ago

Related to issue: https://github.com/Netflix/consoleme/issues/9356 Describe the bug HorizontalPodAutoscaler v2beta1 is deprecated in v1.22+ and causes failures deploying on updated clusters

Error: unable to build kubernetes objects from release manifest: resource mapping not found for name: "consoleme" namespace: "" from "": no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta1"

Expected behavior HPA autoscaler should successfully deploy with the application when autoscaling.enabled: true

This PR updates the python build package to one that is available & adds a check for newer KubeVersion to utilize the stable version: autoscaling/v2