ResourceAttributes

ResourceAttributes

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

apiVersion: authorization.k8s.io/v1

import "k8s.io/api/authorization/v1"

ResourceAttributes

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


FieldDescription
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.

This page is automatically generated.

If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.