clarify RBAC API documentation

(Resource|Verb)All are meaningless in the context of openapi spec. I saw
ResourceAll used in an RBAC policy.

Change-Id: I8ab5f230bed23be902f77cadee3fbcdec6b24064
This commit is contained in:
Mike Danese
2021-03-31 17:01:48 -07:00
parent a651804427
commit 724e760721
11 changed files with 21 additions and 21 deletions

View File

@@ -14466,14 +14466,14 @@
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.",
"description": "Resources is a list of resources this rule applies to. '*' represents all resources.",
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.",
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. '*' represents all verbs.",
"items": {
"type": "string"
},
@@ -14858,14 +14858,14 @@
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.",
"description": "Resources is a list of resources this rule applies to. '*' represents all resources.",
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.",
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. '*' represents all verbs.",
"items": {
"type": "string"
},
@@ -15257,7 +15257,7 @@
"type": "array"
},
"verbs": {
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.",
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. '*' represents all verbs.",
"items": {
"type": "string"
},