Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 1.69 KB

File metadata and controls

15 lines (11 loc) · 1.69 KB

V1PolicyRule

Properties

Name Type Description Notes
verbs list[str] Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.
attribute_restrictions str AttributeRestrictions will vary depending on what the Authorizer/AuthorizationAttributeBuilder pair supports. If the Authorizer does not recognize how to handle the AttributeRestrictions, the Authorizer should report an error. [optional]
api_groups list[str] APIGroups is the name of the APIGroup that contains the resources. If this field is empty, then both kubernetes and origin API groups are assumed. That means that if an action is requested against one of the enumerated resources in either the kubernetes or the origin API group, the request will be allowed
resources list[str] Resources is a list of resources this rule applies to. ResourceAll represents all resources.
resource_names list[str] ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. [optional]
non_resource_ur_ls list[str] NonResourceURLsSlice is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different. [optional]

[Back to Model list] [Back to API list] [Back to README]