Skip to content

Commit fa0d183

Browse files
Merge pull request #106888 from liggitt/automated-cherry-pick-of-#106887-upstream-release-1.23
Automated cherry pick of #106887: Direct v2betaX users to migrate to HPA v2 Kubernetes-commit: aef9ad1346257d430d49bd78cf6c84bff93880cd
2 parents 1cfd3d8 + 15d9b0c commit fa0d183

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

autoscaling/v2beta1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ type ExternalMetricStatus struct {
449449
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
450450
// +k8s:prerelease-lifecycle-gen:introduced=1.8
451451
// +k8s:prerelease-lifecycle-gen:deprecated=1.22
452-
// +k8s:prerelease-lifecycle-gen:replacement=autoscaling,v2beta2,HorizontalPodAutoscaler
452+
// +k8s:prerelease-lifecycle-gen:replacement=autoscaling,v2,HorizontalPodAutoscaler
453453

454454
// HorizontalPodAutoscaler is the configuration for a horizontal pod
455455
// autoscaler, which automatically manages the replica count of any resource

autoscaling/v2beta1/zz_generated.prerelease-lifecycle.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

autoscaling/v2beta2/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import (
2828
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
2929
// +k8s:prerelease-lifecycle-gen:introduced=1.12
3030
// +k8s:prerelease-lifecycle-gen:deprecated=1.23
31+
// +k8s:prerelease-lifecycle-gen:replacement=autoscaling,v2,HorizontalPodAutoscaler
3132

3233
// HorizontalPodAutoscaler is the configuration for a horizontal pod
3334
// autoscaler, which automatically manages the replica count of any resource

autoscaling/v2beta2/zz_generated.prerelease-lifecycle.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)