kubernetes: k8s.io/kubernetes/plugin/pkg/admission/certificates Index | Files | Directories

package certificates

import "k8s.io/kubernetes/plugin/pkg/admission/certificates"

Index

Package Files

util.go

func IsAuthorizedForSignerName Uses

func IsAuthorizedForSignerName(ctx context.Context, authz authorizer.Authorizer, info user.Info, verb, signerName string) bool

IsAuthorizedForSignerName returns true if 'info' is authorized to perform the given 'verb' on the synthetic 'signers' resource with the given signerName. If the user does not have permission to perform the 'verb' on the given signerName, it will also perform an authorization check against {domain portion}/*, for example `kubernetes.io/*`. This allows an entity to be granted permission to 'verb' on all signerNames with a given 'domain portion'.

Directories

PathSynopsis
approval
signing
subjectrestriction

Package certificates imports 5 packages (graph) and is imported by 16 packages. Updated 2020-07-14. Refresh now. Tools for package owners.