Merge pull request #67978 from WanLinghao/token_controller_improve

remove idle tokens in kubelet token manager
This commit is contained in:
k8s-ci-robot
2018-11-02 12:28:47 -07:00
committed by GitHub
10 changed files with 240 additions and 5 deletions

View File

@@ -354,6 +354,8 @@ type VolumeHost interface {
GetServiceAccountTokenFunc() func(namespace, name string, tr *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error)
DeleteServiceAccountTokenFunc() func(podUID types.UID)
// Returns an interface that should be used to execute any utilities in volume plugins
GetExec(pluginName string) mount.Exec