docker-registry.helm icon indicating copy to clipboard operation
docker-registry.helm copied to clipboard

Handle autoscaling/v2beta versions

Open joneteus opened this issue 3 years ago • 0 comments

The chart tries to resolve whether the cluster supports autoscaling/v2 or not and selects HPA version to deploy based on that https://github.com/twuni/docker-registry.helm/blob/c91c8139c5bd2a7a093b486d248209604b1b9f70/templates/hpa.yaml#L3

If the cluster supports autoscaling/v2beta1 or autoscaling/v2beta2 but not autoscaling/v2 this chart tries to deploy autoscaling/v2 and that fails.

Suggestion: ignore beta versions and deploy v1 in that case

joneteus avatar Mar 21 '22 14:03 joneteus