Jordan Liggitt
8ae8e474b0
partial: periodically reload tokens read from TokenFile in kubeconfig
...
partial pick of 718adb7473d2249d706b2031e0b8e0ffbd835be9
Kubernetes-commit: 58243f1c4c59fffa3423f3ec0a316eccae8db30c
2018-12-11 10:13:14 -08:00
Jordan Liggitt
f1cd4ed075
Plumb token and token file through rest.Config
...
Kubernetes-commit: a8dd22a3d55b6efb2ee3602d94af5d79609dfef7
2018-12-04 11:24:29 -05:00
Tim Allclair
32ec4b1882
Only allow apiserver to follow redriects to the same host
...
Kubernetes-commit: e385ba8c4a0860746e661b39611c88aff5bee5f2
2018-07-23 13:16:25 -07:00
David Eads
5f3a23fd53
add logging to find offending transports
...
Kubernetes-commit: 8b61c5a08846221503ad039a53e3f38328c9c127
2018-08-02 15:14:27 -04:00
Jake Sanders
cce189a67e
Escape illegal characters in remote extra keys
...
Signed-off-by: Jake Sanders <jsand@google.com >
Kubernetes-commit: f35e3d07c9898f8ec156209a868fa4451eb9afe2
2018-07-03 21:19:15 -07:00
Andrew Lytvynov
c669580288
Add TLS support to exec authenticator plugin
...
https://github.com/kubernetes/community/blob/master/contributors/design-proposals/auth/kubectl-exec-plugins.md#tls-client-certificate-support
Allows exec plugin to return raw TLS key/cert data. This data populates
transport.Config.TLS fields.
transport.Config.TLS propagates custom credentials using
tls.Config.GetClientCertificate callback.
On key/cert rotation, all connections using old credentials are
closed
Kubernetes-commit: cd89f9473faa60c15b8e9d223e5c4f9dab53627a
2018-05-30 14:03:32 -07:00
Mikhail Mazurskiy
4a75b93cb4
Use Dial with context
...
Kubernetes-commit: 5e8e570dbda6ed89af9bc2e0a05e3d94bfdfcb61
2018-05-19 08:14:37 +10:00
Cao Shufeng
f71f3da0d1
fix curl header
...
Kubernetes-commit: 084eb9b42906736002c285ac88c0dfcfbfb87a63
2018-04-27 15:56:03 +08:00
Jordan Liggitt
d23614d7ea
ensure tls server name is used in transport
...
Kubernetes-commit: 6f657424743e93d064f8975a930941ba73f53110
2018-04-17 00:59:27 -04:00
Jordan Liggitt
015563ab58
distinguish custom dialers in transport cache
...
Kubernetes-commit: d45fbce37985b72ec454a8dbe73d92bf07f8726f
2018-04-17 00:58:56 -04:00
Aleksandra Malinowska
c1e13e8dbf
Improve debug curl command
...
Kubernetes-commit: 42f756aeb01a6ce90ff56a0b07cb4bb5ab2c602b
2018-03-07 13:33:14 +01:00
Kubernetes Publisher
fff8c3d73e
sync: initially remove files BUILD */BUILD BUILD.bazel */BUILD.bazel
2018-03-15 09:19:38 +00:00
Jeff Grafton
fca8bb2928
Autogenerated: hack/update-bazel.sh
...
Kubernetes-commit: ef56a8d6bb3800ab7803713eafc4191e8202ad6e
2018-02-16 13:43:01 -08:00
Eric Chiang
77f9dfa073
client-go: remove import of github.com/gregjones/httpcache
...
Kubernetes-commit: ea085e0a32a6b723e5c565e60d8941b5a760bb68
2017-12-15 15:02:31 -08:00
Jeff Grafton
fe985a55a2
Autogenerate BUILD files
...
Kubernetes-commit: efee0704c60a2ee3049268a41535aaee7f661f6c
2017-12-23 13:06:26 -08:00
Jordan Liggitt
60b0546760
Use struct key for TLS cache
...
Kubernetes-commit: 5c8fe23722db05dda25a54d4275737af329227eb
2017-12-04 13:51:29 -06:00
Jordan Liggitt
fdf7e51f22
Include ServerName in tls transport cache key
...
Kubernetes-commit: 195a4d6f6da77ec39c5f80f3906406583c143996
2017-11-27 10:05:26 -05:00
Jeff Grafton
c92755ea3b
update BUILD files
...
Kubernetes-commit: aee5f457dbfd70c2d15c33e392dce6a3ca710116
2017-10-12 13:52:10 -07:00
Kubernetes Publisher
baf97d23c3
plumb the proxyTransport to the webhook admission plugin;
...
set the ServerName in the config for webhook admission plugin.
Kubernetes-commit: 186a0684d582272aa2fbfec390aea5fbb88a8bc6
2017-09-22 11:22:07 +00:00
Antoine Pelisse
2ed3ee4524
client-go cache: Make caching layer Unwrappable
...
Kubernetes-commit: a804d440c3dfab8820c7f2d231dcaecb201be7b5
2017-09-01 16:19:00 +00:00
Antoine Pelisse
0b7513368a
c-go cache: Use diskv TempDir to get atomic write
...
Kubernetes-commit: e58da7bb7c1800ffd4f24cf77c2e3f3cdfcdf906
2017-09-01 16:19:00 +00:00
Antoine Pelisse
928f5804e3
Revert "Revert "Merge pull request #47353 from apelisse/http-cache""
...
This reverts commit 4ee72eb300423772020dd1cf208159058ba7dab5.
Kubernetes-commit: 332b681bd1d961e2cee16bca10784088a8d308f1
2017-09-01 16:19:00 +00:00
Jeff Grafton
5da217e5c4
Use buildozer to delete licenses() rules except under third_party/
...
Kubernetes-commit: a7f49c906df816123e7d4ccbd4cebab411519465
2017-08-29 12:51:55 +00:00
Jeff Grafton
fa2ceb7462
Use buildozer to remove deprecated automanaged tags
...
Kubernetes-commit: 33276f06be5e872bf53ca62a095fcf0a6b6c11a8
2017-08-29 12:51:55 +00:00
Jordan Liggitt
53ab900949
Revert "Merge pull request #47353 from apelisse/http-cache"
...
This reverts commit fc89743dca6b563063b74728c3b28100cf674d9d, reversing
changes made to 29ab38e898988c36e2de34f77fa33be556eb21bd.
Kubernetes-commit: 4ee72eb300423772020dd1cf208159058ba7dab5
2017-08-29 12:51:24 +00:00
Antoine Pelisse
9f99bf70e2
c-go/transport: Add test for CacheRoundTripper
...
Kubernetes-commit: d6348cc1ff72be719e0830da2c64ef1689499956
2017-08-29 12:50:18 +00:00
Antoine Pelisse
d7f469601f
c-go: Use http Etag cache
...
Add a new command-line cachedir flag to specify where to store the http
cache responses. This cache will only be used for OpenAPI Swagger spec
for now (as this is the only end-point that returns an ETag).
Kubernetes-commit: d7bba25d4a42f346f1963c86fc0dab43aa4f242e
2017-08-29 12:50:18 +00:00
Jeff Grafton
f921a73942
Run hack/update-bazel.sh to generate BUILD files
...
Kubernetes-commit: 3579017b865ddbc5449d6bba87346f086e4b93ff
2017-08-29 12:50:17 +00:00
Clayton Coleman
3bb413eede
Move SPDY specific code into its own package
...
Kubernetes-commit: cf026a3314fd3513a2c4239c6f4edbbbbcb96a77
2017-07-16 03:58:42 +00:00
Andy Goldstein
6bc1999690
Add redirect support to SpdyRoundTripper
...
Add support for following redirects to the SpdyRoundTripper. This is
necessary for clients using it directly (e.g. the apiserver talking
directly to the kubelet) because the CRI streaming server issues a
redirect for streaming requests.
Also extract common logic for following redirects.
Kubernetes-commit: 715d5d9c91c669cf33c0bf9a9c9d352c6c4228a6
2017-04-27 20:28:33 +00:00
Mike Danese
9a45999fa0
autogenerated
...
Kubernetes-commit: a05c3c0efdc5822049e34b1a5a1ee259c5fb1906
2017-04-15 20:28:18 +00:00
Chao Xu
6c315a68f3
manully sync up to 1634d8f9f72a626b16c55573d78e8da2d75e6356
...
(merging https://github.com/kubernetes/kubernetes/pull/42084 ). For the new publish
script to work, client-go has to be synced up to when k8s.io/kubernetes doesn't
include _vendor
2017-03-08 11:31:44 -08:00
Kubernetes Publisher
204f12b1f3
published by bot
...
(https://github.com/kubernetes/contrib/tree/master/mungegithub )
copied from https://github.com/kubernetes/kubernetes.git , branch master,
last commit is 616038db1b0d1e852b4a3d10c8c512a052f91fba
2017-01-14 15:19:47 +00:00
Kubernetes Publisher
5fe6fc56cb
published by bot
...
(https://github.com/kubernetes/contrib/tree/master/mungegithub )
copied from https://github.com/kubernetes/kubernetes.git , branch master,
last commit is 5b2823adb9a8777f7819884fa79a6e1daa26b9c2
2016-12-17 15:19:41 +00:00
Kubernetes Publisher
243d8a9cb6
published by bot
...
(https://github.com/kubernetes/contrib/tree/master/mungegithub )
copied from https://github.com/kubernetes/kubernetes.git , branch master,
last commit is d8c925319a23f6bbf865baa53ae23f48f60dd73b
2016-12-11 15:19:40 +00:00
Kubernetes Publisher
41a99d711a
published by bot
...
(https://github.com/kubernetes/contrib/tree/master/mungegithub )
copied from https://github.com/kubernetes/kubernetes.git , branch master,
last commit is 238ffdd0d6d79d610cea2ebe3a03868a197283c8
2016-12-03 08:16:09 +00:00
Kubernetes Publisher
75399f68c8
published by bot
...
(https://github.com/kubernetes/contrib/tree/master/mungegithub )
copied from https://github.com/kubernetes/kubernetes.git , branch master,
last commit is e56cfc5322138aa23e6418ee30a6ab54c7c6fe8c
2016-10-21 04:44:19 +00:00
Chao Xu
a6d206121d
remove the top-level folders for versions
...
remove scripts
2016-10-19 14:34:19 -07:00