Skip to content

Conversation

@Magnus010
Copy link
Contributor

Checks if Kubernetes is older then 1.23-0 and sets the Horizontal Pod Autoscaler apiVersion to autoscaling/v2beta2 vs. the default of autoscaling/v2.

Tested in our extremely old Kubernetes cluster.

Fixes #363

@Magnus010 Magnus010 force-pushed the old_kubernetes_hpa_fix branch from b5f3c23 to 7164024 Compare October 30, 2025 18:37
@tuunit tuunit changed the title Adding HPA capabilities check feat: ading HPA capabilities check Oct 30, 2025
@tuunit tuunit requested a review from Copilot October 30, 2025 18:58
@tuunit
Copy link
Member

tuunit commented Oct 30, 2025

Hi @Magnus010,

please bump the patch version the Chart.yaml and update the changelog entry at the bottom of the same file

This comment was marked as outdated.

@Magnus010 Magnus010 force-pushed the old_kubernetes_hpa_fix branch from b630adb to 5f4b3b6 Compare October 30, 2025 19:12
@Magnus010
Copy link
Contributor Author

Chart.yaml patch version bumped and Updated the changelog entry.

@tuunit tuunit changed the title feat: ading HPA capabilities check feat: adding HPA capabilities check Oct 30, 2025
@tuunit tuunit merged commit f453641 into oauth2-proxy:main Oct 30, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HPAs on Kubernetes version 1.20.6 do not use the correct apiVersion

2 participants