ResourceAttributes

io.k8s.api.authorization.v1.ResourceAttributes

Description

ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface

Properties

fieldSelector FieldSelectorAttributes
fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it.
group string
group is the API Group of the Resource. "*" means all.
labelSelector LabelSelectorAttributes
labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it.
name string
name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.
namespace string
namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces "" (empty) is defaulted for LocalSubjectAccessReviews "" (empty) is empty for cluster-scoped resources "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview
resource string
resource is one of the existing resource types. "*" means all.
subresource string
subresource is one of the existing resource types. "" means none.
verb string
verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.
version string
version is the API Version of the Resource. "*" means all.