Merge pull request #72179 from WanLinghao/sa_controller

Migrate the controller to use TokenRequest and rotate token periodically

Kubernetes-commit: 11d472ea01f23063158e1f0e4fba37144e4edc59
This commit is contained in:
Kubernetes Publisher 2019-03-26 12:33:19 -07:00
parent 0dbf86afcf
commit 6a49eed407

102
Godeps/Godeps.json generated
View File

@ -420,207 +420,207 @@
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/apitesting", "ImportPath": "k8s.io/apimachinery/pkg/api/apitesting",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/fuzzer", "ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/fuzzer",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/roundtrip", "ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/roundtrip",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/equality", "ImportPath": "k8s.io/apimachinery/pkg/api/equality",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/errors", "ImportPath": "k8s.io/apimachinery/pkg/api/errors",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/meta", "ImportPath": "k8s.io/apimachinery/pkg/api/meta",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/resource", "ImportPath": "k8s.io/apimachinery/pkg/api/resource",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/conversion", "ImportPath": "k8s.io/apimachinery/pkg/conversion",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams", "ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/fields", "ImportPath": "k8s.io/apimachinery/pkg/fields",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/labels", "ImportPath": "k8s.io/apimachinery/pkg/labels",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime", "ImportPath": "k8s.io/apimachinery/pkg/runtime",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/schema", "ImportPath": "k8s.io/apimachinery/pkg/runtime/schema",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/selection", "ImportPath": "k8s.io/apimachinery/pkg/selection",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/types", "ImportPath": "k8s.io/apimachinery/pkg/types",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/cache", "ImportPath": "k8s.io/apimachinery/pkg/util/cache",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/clock", "ImportPath": "k8s.io/apimachinery/pkg/util/clock",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/diff", "ImportPath": "k8s.io/apimachinery/pkg/util/diff",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/errors", "ImportPath": "k8s.io/apimachinery/pkg/util/errors",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/framer", "ImportPath": "k8s.io/apimachinery/pkg/util/framer",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream", "ImportPath": "k8s.io/apimachinery/pkg/util/httpstream",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy", "ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/intstr", "ImportPath": "k8s.io/apimachinery/pkg/util/intstr",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/json", "ImportPath": "k8s.io/apimachinery/pkg/util/json",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch", "ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/naming", "ImportPath": "k8s.io/apimachinery/pkg/util/naming",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/net", "ImportPath": "k8s.io/apimachinery/pkg/util/net",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand", "ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/runtime", "ImportPath": "k8s.io/apimachinery/pkg/util/runtime",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/sets", "ImportPath": "k8s.io/apimachinery/pkg/util/sets",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch", "ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/validation", "ImportPath": "k8s.io/apimachinery/pkg/util/validation",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/validation/field", "ImportPath": "k8s.io/apimachinery/pkg/util/validation/field",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/wait", "ImportPath": "k8s.io/apimachinery/pkg/util/wait",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/yaml", "ImportPath": "k8s.io/apimachinery/pkg/util/yaml",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/version", "ImportPath": "k8s.io/apimachinery/pkg/version",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/watch", "ImportPath": "k8s.io/apimachinery/pkg/watch",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect",
"Rev": "03ac7a9ade429d715a1a46ceaa3724c18ebae54f" "Rev": "7b3d41122501114701f8d013ea1d9533f60c5dd5"
}, },
{ {
"ImportPath": "k8s.io/klog", "ImportPath": "k8s.io/klog",