From 05bfa26791161057e7a49f6729ed99abb41b168e Mon Sep 17 00:00:00 2001 From: Jordan Liggitt Date: Thu, 10 Feb 2022 17:20:32 -0500 Subject: [PATCH] Add hpa v2 compatibility fixtures --- staging/src/k8s.io/api/roundtrip_test.go | 2 ++ ...utoscaling.v2.HorizontalPodAutoscaler.json | 2 +- .../autoscaling.v2.HorizontalPodAutoscaler.pb | Bin 2137 -> 2132 bytes ...utoscaling.v2.HorizontalPodAutoscaler.json | 2 +- .../autoscaling.v2.HorizontalPodAutoscaler.pb | Bin 2137 -> 2132 bytes 5 files changed, 4 insertions(+), 2 deletions(-) diff --git a/staging/src/k8s.io/api/roundtrip_test.go b/staging/src/k8s.io/api/roundtrip_test.go index 1cc2c83f728..e91ee93407f 100644 --- a/staging/src/k8s.io/api/roundtrip_test.go +++ b/staging/src/k8s.io/api/roundtrip_test.go @@ -33,6 +33,7 @@ import ( authorizationv1 "k8s.io/api/authorization/v1" authorizationv1beta1 "k8s.io/api/authorization/v1beta1" autoscalingv1 "k8s.io/api/autoscaling/v1" + autoscalingv2 "k8s.io/api/autoscaling/v2" autoscalingv2beta1 "k8s.io/api/autoscaling/v2beta1" autoscalingv2beta2 "k8s.io/api/autoscaling/v2beta2" batchv1 "k8s.io/api/batch/v1" @@ -89,6 +90,7 @@ var groups = []runtime.SchemeBuilder{ authorizationv1beta1.SchemeBuilder, authorizationv1.SchemeBuilder, autoscalingv1.SchemeBuilder, + autoscalingv2.SchemeBuilder, autoscalingv2beta1.SchemeBuilder, autoscalingv2beta2.SchemeBuilder, batchv1beta1.SchemeBuilder, diff --git a/staging/src/k8s.io/api/testdata/HEAD/autoscaling.v2.HorizontalPodAutoscaler.json b/staging/src/k8s.io/api/testdata/HEAD/autoscaling.v2.HorizontalPodAutoscaler.json index d2090a8c79d..ce054943f4a 100644 --- a/staging/src/k8s.io/api/testdata/HEAD/autoscaling.v2.HorizontalPodAutoscaler.json +++ b/staging/src/k8s.io/api/testdata/HEAD/autoscaling.v2.HorizontalPodAutoscaler.json @@ -279,4 +279,4 @@ } ] } -} +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/HEAD/autoscaling.v2.HorizontalPodAutoscaler.pb b/staging/src/k8s.io/api/testdata/HEAD/autoscaling.v2.HorizontalPodAutoscaler.pb index cb8ed3c568024c2fd1a98dbbd1943dac5e939207..6a2ccbcdb611f17f2ea420e792b95040bb09d0af 100644 GIT binary patch delta 30 lcmca9a792g+oG6(OOuN)v9u(=I5{yVGcR4gY@?Jt2LP0n36%f< delta 35 qcmca2a8p1k+oG6(OOH!9v9u(=I5{yVGcR4g%qS_fBypptJqG~H$O~-% diff --git a/staging/src/k8s.io/api/testdata/v1.23.0/autoscaling.v2.HorizontalPodAutoscaler.json b/staging/src/k8s.io/api/testdata/v1.23.0/autoscaling.v2.HorizontalPodAutoscaler.json index d2090a8c79d..ce054943f4a 100644 --- a/staging/src/k8s.io/api/testdata/v1.23.0/autoscaling.v2.HorizontalPodAutoscaler.json +++ b/staging/src/k8s.io/api/testdata/v1.23.0/autoscaling.v2.HorizontalPodAutoscaler.json @@ -279,4 +279,4 @@ } ] } -} +} \ No newline at end of file diff --git a/staging/src/k8s.io/api/testdata/v1.23.0/autoscaling.v2.HorizontalPodAutoscaler.pb b/staging/src/k8s.io/api/testdata/v1.23.0/autoscaling.v2.HorizontalPodAutoscaler.pb index cb8ed3c568024c2fd1a98dbbd1943dac5e939207..6a2ccbcdb611f17f2ea420e792b95040bb09d0af 100644 GIT binary patch delta 30 lcmca9a792g+oG6(OOuN)v9u(=I5{yVGcR4gY@?Jt2LP0n36%f< delta 35 qcmca2a8p1k+oG6(OOH!9v9u(=I5{yVGcR4g%qS_fBypptJqG~H$O~-%