package
0.0.0-20191024030528-a481964b876e
Repository: https://github.com/divinerapier/learn-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.

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