mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 06:02:18 +00:00
add singular resource names to discovery
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user