Files
kubernetes/pkg
Kubernetes Submit Queue 4bb3712a75 Merge pull request #68119 from WanLinghao/token_controller_cachekey_fix
Automatic merge from submit-queue (batch tested with PRs 68119, 68191). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.

fix token controller keyFunc bug

Currently, token manager use keyFunc like: `fmt.Sprintf("%q/%q/%#v", name, namespace, tr.Spec)`.
Since tr.Spec contains point fields, new token request would not reuse the cache at all.
This patch fix this, also adds unit test.

```release-note
NONE
```
2018-09-06 16:20:36 -07:00
..
2018-08-30 18:24:23 -04:00
2018-07-06 10:55:17 -04:00
2018-08-29 20:21:17 +03:00
2018-06-22 16:22:57 -07:00
2018-09-03 11:34:09 +08:00
2018-02-12 10:54:33 -05:00
2018-06-22 16:22:57 -07:00
2018-06-22 16:22:57 -07:00