add singular resource names to discovery

This commit is contained in:
deads2k
2017-03-17 13:28:11 -04:00
parent 0a6d82d8e7
commit 36cb9ed640
54 changed files with 800 additions and 382 deletions

View File

@@ -36855,6 +36855,7 @@
"description": "APIResource specifies the name of a resource and whether it is namespaced.",
"required": [
"name",
"singularName",
"namespaced",
"kind",
"verbs"
@@ -36865,7 +36866,7 @@
"type": "string"
},
"name": {
"description": "name is the name of the resource.",
"description": "name is the plural name of the resource.",
"type": "string"
},
"namespaced": {
@@ -36879,6 +36880,10 @@
"type": "string"
}
},
"singularName": {
"description": "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.",
"type": "string"
},
"verbs": {
"description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)",
"type": "array",