package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev

# Functions

NewServiceAccount returns an admission.Interface implementation which limits admission of Pod CREATE requests based on the pod's ServiceAccount: 1.
Register registers a plugin.
TokenVolumeSource returns the projected volume source for service account token.

# Constants

DefaultAPITokenMountPath is the path that ServiceAccountToken secrets are automounted to.
DefaultServiceAccountName is the name of the default service account to set on pods which do not specify a service account.
EnforceMountableSecretsAnnotation is a default annotation that indicates that a service account should enforce mountable secrets.
PluginName is the name of this admission plugin.
ServiceAccountVolumeName is the prefix name that will be added to volumes that mount ServiceAccount secrets.

# Structs

Plugin contains the client used by the admission controller.