Skip to content

Commit 3f9123f

Browse files
authored
Merge pull request kubernetes#94010 from ghostsquad/docs/hpa-v2beta-type-missing-external
docs(api): 📝 Fix HPA docs with addition of "External" type
2 parents 217d89a + 92ef2aa commit 3f9123f

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

api/openapi-spec/swagger.json

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

staging/src/k8s.io/api/autoscaling/v2beta1/generated.proto

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

staging/src/k8s.io/api/autoscaling/v2beta1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const (
8888
// (only `type` and one other matching field should be set at once).
8989
type MetricSpec struct {
9090
// type is the type of metric source. It should be one of "Object",
91-
// "Pods" or "Resource", each mapping to a matching field in the object.
91+
// "Pods", "Resource" or "External", each mapping to a matching field in the object.
9292
Type MetricSourceType `json:"type" protobuf:"bytes,1,name=type"`
9393

9494
// object refers to a metric describing a single kubernetes object

staging/src/k8s.io/api/autoscaling/v2beta1/types_swagger_doc_generated.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.

staging/src/k8s.io/api/autoscaling/v2beta2/generated.proto

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

staging/src/k8s.io/api/autoscaling/v2beta2/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ type CrossVersionObjectReference struct {
9797
// (only `type` and one other matching field should be set at once).
9898
type MetricSpec struct {
9999
// type is the type of metric source. It should be one of "Object",
100-
// "Pods" or "Resource", each mapping to a matching field in the object.
100+
// "Pods", "Resource" or "External", each mapping to a matching field in the object.
101101
Type MetricSourceType `json:"type" protobuf:"bytes,1,name=type"`
102102

103103
// object refers to a metric describing a single kubernetes object

staging/src/k8s.io/api/autoscaling/v2beta2/types_swagger_doc_generated.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.

0 commit comments

Comments
 (0)