Commit Graph

15 Commits

Author SHA1 Message Date
deads2k
ac4c545b91 add act-as powers 2016-04-14 12:49:10 -04:00
Rodrigo Campos
c0af96ccc2 Make "--insecure-skip-tls-verify" work on all cases
In the getting started example of AWS, the master uses an IP that is changed on
stop/start. If you are playing with a cluster and stop and start the master,
the IP is changed and you can't connect again, even using the
"--insecure-skip-tls-verify" option.

This patch fixes it and makes the option work on those cases too by making
sure no CA/CAData is added when it shouldn't.
2016-03-21 16:31:31 -03:00
nikhiljindal
593b78f925 Deprecating --api-version flag 2016-03-11 10:12:44 -08:00
Kris
e664ef922f Move restclient to its own package 2016-02-29 12:05:13 -08:00
k8s-merge-robot
1d4a9e88e0 Merge pull request #20628 from sttts/sttts-old-mergo-lib
Auto commit by PR queue bot
2016-02-28 04:24:09 -08:00
deads2k
8c326993d5 only load kubeconfig files one time 2016-02-17 12:55:28 -05:00
Jordan Liggitt
20216fa607 Provide current namespace to InClusterConfig 2016-02-11 15:51:31 -05:00
Dr. Stefan Schimanski
98b11e82d5 Add explicit test case for old mergo.Merge behavior 2016-02-04 08:16:32 +01:00
k8s-merge-robot
ba13454430 Merge pull request #19855 from mitake/remove-v
Auto commit by PR queue bot
2016-02-01 17:18:42 -08:00
Hitoshi Mitake
a33f459c39 clientcmd: remove needless format specifier in a log
Current BuildConfigFromFlags() seems to print a log like below when
config path isn't specified:
```
W0120 15:30:06.196820   13323 client_config.go:359] error creating
inClusterConfig, falling back to default config: %vunable to load
in-cluster configuration, KUBERNETES_SERVICE_HOST and
KUBERNETES_SERVICE_PORT must be defined
```

This commit removes the needless "%v"
2016-01-20 15:36:52 +09:00
James DeFelice
75f487f7bf AbsPath should be compatible with proxy-prefixes:
- replace Config.Prefix with .Host and .APIPath
- Request .path promoted to .pathPrefix, .baseURL holds required prefix
2016-01-20 00:31:58 +00:00
deads2k
a87d927588 update client.Config to use GroupVersion 2015-11-21 08:29:26 -05:00
Mike Danese
fb056c47b2 use inClusterConfig before using default config for cluster components 2015-11-17 10:37:40 -08:00
Clayton Coleman
2dc2db5d02 Config consumers should be able to recognize an empty config
For UX, it would be better if we presented an error for validation that
is "this config is empty" rather than the inaccurate "no server name" or
"no context name" errors. Returns a typed error.
2015-11-05 15:00:23 -05:00
Kris Rousey
7ba5b058cc Moving client libs to unversioned dir 2015-08-18 10:03:19 -07:00