Merge pull request #77750 from sttts/sttts-structural-schema-false-XPreserveUnknownFields

apiextensions: forbid false x-kubernetes-preserve-unknown-fields
This commit is contained in:
Kubernetes Prow Robot
2019-05-13 21:49:22 -07:00
committed by GitHub
14 changed files with 283 additions and 204 deletions

View File

@@ -16822,7 +16822,7 @@
"type": "boolean"
},
"x-kubernetes-preserve-unknown-fields": {
"description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema.",
"description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.",
"type": "boolean"
}
},