Merge pull request #100318 from lyft/hpa-v2beta2-opt-conditions

Mark v2beta1 and v2beta2 HPA status conditions as optional
This commit is contained in:
Kubernetes Prow Robot 2021-10-28 20:30:51 -07:00 committed by GitHub
commit a8cf023abc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 4 deletions

View File

@ -2534,8 +2534,7 @@
},
"required": [
"currentReplicas",
"desiredReplicas",
"conditions"
"desiredReplicas"
],
"type": "object"
},
@ -3093,8 +3092,7 @@
},
"required": [
"currentReplicas",
"desiredReplicas",
"conditions"
"desiredReplicas"
],
"type": "object"
},

View File

@ -248,6 +248,7 @@ message HorizontalPodAutoscalerStatus {
// conditions is the set of conditions required for this autoscaler to scale its target,
// and indicates whether or not those conditions are met.
// +optional
repeated HorizontalPodAutoscalerCondition conditions = 6;
}

View File

@ -264,6 +264,7 @@ type HorizontalPodAutoscalerStatus struct {
// conditions is the set of conditions required for this autoscaler to scale its target,
// and indicates whether or not those conditions are met.
// +optional
Conditions []HorizontalPodAutoscalerCondition `json:"conditions" protobuf:"bytes,6,rep,name=conditions"`
}

View File

@ -272,6 +272,7 @@ message HorizontalPodAutoscalerStatus {
// conditions is the set of conditions required for this autoscaler to scale its target,
// and indicates whether or not those conditions are met.
// +optional
repeated HorizontalPodAutoscalerCondition conditions = 6;
}

View File

@ -373,6 +373,7 @@ type HorizontalPodAutoscalerStatus struct {
// conditions is the set of conditions required for this autoscaler to scale its target,
// and indicates whether or not those conditions are met.
// +optional
Conditions []HorizontalPodAutoscalerCondition `json:"conditions" protobuf:"bytes,6,rep,name=conditions"`
}