mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 11:12:03 +00:00
Add deprecated, deprecationWarning fields to CRDs
This commit is contained in:
16
api/openapi-spec/swagger.json
generated
16
api/openapi-spec/swagger.json
generated
@@ -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"
|
||||
|
Reference in New Issue
Block a user