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

@@ -729,6 +729,12 @@ func (adc *attachDetachController) GetServiceAccountTokenFunc() func(_, _ string
}
}
func (adc *attachDetachController) DeleteServiceAccountTokenFunc() func(types.UID) {
return func(types.UID) {
glog.Errorf("DeleteServiceAccountToken unsupported in attachDetachController")
}
}
func (adc *attachDetachController) GetExec(pluginName string) mount.Exec {
return mount.NewOsExec()
}