Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle autoscaling/v2beta versions #59

Open
joneteus opened this issue Mar 21, 2022 · 0 comments
Open

Handle autoscaling/v2beta versions #59

joneteus opened this issue Mar 21, 2022 · 0 comments

Comments

@joneteus
Copy link
Contributor

joneteus commented Mar 21, 2022

The chart tries to resolve whether the cluster supports autoscaling/v2 or not and selects HPA version to deploy based on that

{{- if $apiVersions.Has "autoscaling/v2" }}

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant