rbac: remove AttributeRestriction documentation

This field never made it past the alpha API.
This commit is contained in:
Mike Danese
2021-09-07 16:20:42 -07:00
parent 34fb61beba
commit acb85012ba
11 changed files with 11 additions and 11 deletions

View File

@@ -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. '*' represents all verbs.
// Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
Verbs []string
// APIGroups is the name of the APIGroup that contains the resources.