Add deprecated, deprecationWarning fields to CRDs

This commit is contained in:
Jordan Liggitt
2020-06-19 17:41:58 -04:00
parent dc0122ca6a
commit 30e39c71e2
20 changed files with 1007 additions and 372 deletions

View File

@@ -15941,6 +15941,14 @@
},
"type": "array"
},
"deprecated": {
"description": "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.",
"type": "boolean"
},
"deprecationWarning": {
"description": "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.",
"type": "string"
},
"name": {
"description": "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true.",
"type": "string"
@@ -16581,6 +16589,14 @@
},
"type": "array"
},
"deprecated": {
"description": "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.",
"type": "boolean"
},
"deprecationWarning": {
"description": "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.",
"type": "string"
},
"name": {
"description": "name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis/<group>/<version>/...` if `served` is true.",
"type": "string"