Add servedVersions info in StorageVersion API

This commit is contained in:
Richa Banker
2023-06-01 18:07:56 -07:00
parent 1c7e87cff2
commit 1c48b7ec14
23 changed files with 295 additions and 61 deletions

View File

@@ -843,6 +843,14 @@
"encodingVersion": {
"description": "The API server encodes the object to this version when persisting it in the backend (e.g., etcd).",
"type": "string"
},
"servedVersions": {
"description": "The API server can serve these versions. DecodableVersions must include all ServedVersions.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-list-type": "set"
}
},
"type": "object"

View File

@@ -20,6 +20,15 @@
"encodingVersion": {
"description": "The API server encodes the object to this version when persisting it in the backend (e.g., etcd).",
"type": "string"
},
"servedVersions": {
"description": "The API server can serve these versions. DecodableVersions must include all ServedVersions.",
"items": {
"default": "",
"type": "string"
},
"type": "array",
"x-kubernetes-list-type": "set"
}
},
"type": "object"