From f62a3bc5bd5f6e7879591ad35932972843742d7c Mon Sep 17 00:00:00 2001 From: Weston McNamee Date: Fri, 14 Aug 2020 10:37:12 -0700 Subject: [PATCH] =?UTF-8?q?docs(api):=20=F0=9F=93=9D=20=20Fix=20HPA=20docs?= =?UTF-8?q?=20with=20addition=20of=20"External"=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- staging/src/k8s.io/api/autoscaling/v2beta1/types.go | 2 +- staging/src/k8s.io/api/autoscaling/v2beta2/types.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/staging/src/k8s.io/api/autoscaling/v2beta1/types.go b/staging/src/k8s.io/api/autoscaling/v2beta1/types.go index d76e879678a..f5fe9f2acfe 100644 --- a/staging/src/k8s.io/api/autoscaling/v2beta1/types.go +++ b/staging/src/k8s.io/api/autoscaling/v2beta1/types.go @@ -88,7 +88,7 @@ const ( // (only `type` and one other matching field should be set at once). type MetricSpec struct { // type is the type of metric source. It should be one of "Object", - // "Pods" or "Resource", each mapping to a matching field in the object. + // "Pods", "Resource" or "External", each mapping to a matching field in the object. Type MetricSourceType `json:"type" protobuf:"bytes,1,name=type"` // object refers to a metric describing a single kubernetes object diff --git a/staging/src/k8s.io/api/autoscaling/v2beta2/types.go b/staging/src/k8s.io/api/autoscaling/v2beta2/types.go index 6e5b8f68c11..f155d9d846f 100644 --- a/staging/src/k8s.io/api/autoscaling/v2beta2/types.go +++ b/staging/src/k8s.io/api/autoscaling/v2beta2/types.go @@ -97,7 +97,7 @@ type CrossVersionObjectReference struct { // (only `type` and one other matching field should be set at once). type MetricSpec struct { // type is the type of metric source. It should be one of "Object", - // "Pods" or "Resource", each mapping to a matching field in the object. + // "Pods", "Resource" or "External", each mapping to a matching field in the object. Type MetricSourceType `json:"type" protobuf:"bytes,1,name=type"` // object refers to a metric describing a single kubernetes object