mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-22 02:18:51 +00:00
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:
@@ -43,7 +43,7 @@ const (
|
||||
// PolicyRule holds information that describes a policy rule, but does not contain information
|
||||
// about who the rule applies to or which namespace the rule applies to.
|
||||
type PolicyRule struct {
|
||||
// Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.
|
||||
// Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. '*' represents all verbs.
|
||||
Verbs []string
|
||||
|
||||
// APIGroups is the name of the APIGroup that contains the resources.
|
||||
|
Reference in New Issue
Block a user