openfga / helm-charts

Official Helm charts for the OpenFGA project.
https://openfga.dev
Apache License 2.0
22 stars 36 forks source link

Issue with HorizontalPodAutoscaler apiVersion #65

Closed jliedy closed 1 year ago

jliedy commented 1 year ago

Helm is choking on deploying the chart due to autoscaling/v2beta1 being removed as of Kubernetes v1.25: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#horizontalpodautoscaler-v125

The apiVersion autoscaling/v2 has been available since Kubernetes v1.23.

I'll submit a pull request with an updated template.

jon-whit commented 1 year ago

@jliedy thanks for reporting. Taking a look now.

jliedy commented 1 year ago

Hey, I've submitted pull request #67 . The new API requires a structure change to the spec.

jliedy commented 1 year ago

Awesome. I've tested this in my k8s cluster and the HPA is getting created appropriately. Thanks for the quick merge!