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

@@ -317,6 +317,12 @@ func (expc *expandController) GetServiceAccountTokenFunc() func(_, _ string, _ *
}
}
func (expc *expandController) DeleteServiceAccountTokenFunc() func(types.UID) {
return func(types.UID) {
glog.Errorf("DeleteServiceAccountToken unsupported in expandController")
}
}
func (expc *expandController) GetNodeLabels() (map[string]string, error) {
return nil, fmt.Errorf("GetNodeLabels unsupported in expandController")
}