Versions in this module Expand all Collapse all v1 v1.16.3 Nov 9, 2022 Changes in this version + const DefaultAPITokenMountPath + const DefaultServiceAccountName + const EnforceMountableSecretsAnnotation + const PluginName + const ServiceAccountVolumeName + func Register(plugins *admission.Plugins) + type Plugin struct + LimitSecretReferences bool + MountServiceAccountToken bool + RequireAPIToken bool + func NewServiceAccount() *Plugin + func (s *Plugin) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) (err error) + func (s *Plugin) SetExternalKubeClientSet(cl kubernetes.Interface) + func (s *Plugin) SetExternalKubeInformerFactory(f informers.SharedInformerFactory) + func (s *Plugin) Validate(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) (err error) + func (s *Plugin) ValidateInitialization() error