Fix up potentially empty fields in HPA v2beta2

There were a few cases where fields that should have been marked optional
were not.  This was causing weird validation issues, but is now fixed.
This commit is contained in:
Solly Ross
2018-09-05 18:46:50 -04:00
committed by Mike Dame
parent 364afe4042
commit 76bd48b140
7 changed files with 23 additions and 25 deletions

View File

@@ -79039,11 +79039,6 @@
},
"io.k8s.api.autoscaling.v2beta2.MetricValueStatus": {
"description": "MetricValueStatus holds the current value for a metric",
"required": [
"value",
"averageValue",
"averageUtilization"
],
"properties": {
"averageUtilization": {
"description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.",

View File

@@ -1840,11 +1840,6 @@
"v2beta2.MetricValueStatus": {
"id": "v2beta2.MetricValueStatus",
"description": "MetricValueStatus holds the current value for a metric",
"required": [
"value",
"averageValue",
"averageUtilization"
],
"properties": {
"value": {
"type": "string",