Jordan Liggitt
24302e441b
Overriding CA file should override skip TLS and CA data
...
Kubernetes-commit: 857572168e79430af2dbf05e9d4705dfb3f0d99b
2019-10-06 13:40:21 -04:00
RainbowMango
532b6f676e
Cleanup staticcheck issues for package in client-go.
...
Kubernetes-commit: c8c055b3163dd2661b3f9dd1b0ffb718a61aba24
2019-08-26 20:55:32 +08:00
Jordan Liggitt
9ae57bd75e
honor overridden tokenfile, add InClusterConfig override tests
...
Kubernetes-commit: 7306fb7a89739a2fb48bfeb74595a5daa25060bd
2019-05-15 08:15:02 -04:00
Jordan Liggitt
66e83da33c
Plumb token and token file through rest.Config
...
Kubernetes-commit: dba85e58debadfcb66aff2b68ba8bcc2eafeac2d
2018-12-04 11:24:29 -05:00
Mike Danese
98e0c7ac0d
periodically reload tokens read from TokenFile in kubeconfig
...
Like we do with InClusterConfig.
Kubernetes-commit: 718adb7473d2249d706b2031e0b8e0ffbd835be9
2018-11-02 18:57:45 -07:00
Christoph Blecker
7f1c01699a
Update gofmt for go1.11
...
Kubernetes-commit: 97b2992dc191a357e2167eff5035ce26237a4799
2018-10-05 12:59:38 -07:00
Christoph Blecker
43b95360bd
add more tests to clientcmd
...
Kubernetes-commit: e9cf2b0f798f1fac07f52b5d193419e938e3a7cd
2018-08-11 22:16:26 -07:00
Christoph Blecker
442fc9f1c4
Improve TestMergoSemantics test
...
Kubernetes-commit: 194c471c9ccbb1cf57c66ac081828a693e7ce687
2018-07-04 13:52:44 -07:00
Christoph Blecker
44530d33a7
Move from mergo.Merge to mergo.MergeWithOverwrite
...
Kubernetes-commit: a1f6d24962f2b9e6002bcc721e1b48d1008d6cbf
2018-07-04 12:52:01 -07:00
juanvallejo
69308bcf06
use temp file for kubeconfig in test
...
Kubernetes-commit: 03af5089afb5d31707e7d91e55dfd6b157e6f8e1
2018-08-13 14:29:34 -04:00
juanvallejo
61141c1efe
improve kubeconfig file modification time
...
Trades runtime complexity for spacial complexity when modifying
large amounts of contexts on a kubeconfig.
In cases where there are few destination filenames for a given
amount of contexts, but a large amount of contexts, this patch
prevents reading and writing to the same file (or small number
of files) over and over again needlessly.
Kubernetes-commit: d5651948cf1a14ed284b4708e2057e4cbc72bcbe
2018-08-07 15:13:57 -04:00
Di Xu
d39d12f4b0
fix all the typos across the project
...
Kubernetes-commit: 48388fec7eaad4ac8d84fbe20673ffacf41964a1
2018-02-09 14:53:53 +08:00
Andy Goldstein
48409ad603
Fix in-cluster kubectl --namespace override
...
Before this change, if the config was empty, ConfirmUsable() would
return an "invalid configuration" error instead of examining and
honoring the value of the --namespace flag. This change looks at the
overrides first, and returns the overridden value if it exists before
attempting to check if the config is usable. This is most applicable to
in-cluster clients, where they don't have a kubeconfig but they do have
a token and can use KUBERNETES_SERVICE_HOST/_PORT.
Kubernetes-commit: 23e32b100fb9745b70203c30716697bd03926313
2017-06-13 20:38:44 +00:00
Kubernetes Publisher
0eb5431cb7
published by bot
...
(https://github.com/kubernetes/contrib/tree/master/mungegithub )
copied from https://github.com/kubernetes/kubernetes.git , branch master,
last commit is 8d5227bb2e05e01031ace81fa6611a13f598278e
2017-01-21 15:19:42 +00: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
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