Kris Rousey
ffa764d60b
Unify command line namespace resolution
...
This change allows the namespace in kubeconfig to be overridden by
specifying the namespace in the spec file. If namespace is explicitly
provided in the command line flags and the spec file has a different
namespace, this will cause an error.
2015-07-01 12:59:17 -07:00
Mike Danese
c93a7d644c
make clientcmd use inClusterConfig only if no other configs are available
2015-06-19 12:41:10 -07:00
krousey
49a6b629f8
Merge pull request #9171 from jdef/parse_prefix_from_server
...
parse apiserver prefix from client config host spec
2015-06-08 10:17:41 -07:00
James DeFelice
4b8995f009
parse apiserver prefix from client config host spec, with unit test
2015-06-04 20:20:19 +00:00
Daniel Smith
67f53d2eff
Make kubectl work inside a container in k8s
2015-06-03 12:48:07 -07:00
deads2k
19784dbc4f
remove auth-path from kubeconfig
2015-05-11 10:40:23 -04:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Clayton Coleman
9b5b27a12e
Return a typed error for config validation, and make errors simple
...
Will allow clients to determine when the configuration is bad.
2015-04-02 01:40:00 -04:00
Jordan Liggitt
abb38cf793
Let .kubeconfig populate ca/cert/key data, and basic-auth username/password in client configs
2015-02-19 11:29:42 -05:00
deads2k
bc93de314a
remove --ns-path option from .kubeconfig file, kick tests
2015-02-03 14:22:55 -05:00
Tim Hockin
7dd0400065
Merge pull request #3470 from deads2k/deads-add-kubecfg-ns
...
respect namespace from .kubeconfig file
2015-01-21 12:58:06 -08:00
Jordan Liggitt
f71521d758
Allow overriding global default cluster host
2015-01-21 10:38:58 -05:00
deads2k
dd01137138
add namespace to kubeconfig file
2015-01-20 16:07:54 -05:00
deads2k
b51a717f6e
add kubectl config
2015-01-13 16:19:57 -05:00
Tim Hockin
4fcd496d59
change everything to use new util/errors
2015-01-08 22:10:03 -08:00
deads2k
60a46e7d49
fixes e2e failure on gce with new .kubeconfig, kick travis
2015-01-08 16:31:25 -05:00
deads2k
005f2e1bda
don't require config.Version for IsConfigTransportTLS
2015-01-08 13:53:57 -05:00
deads2k
480635bb72
Revert "Revert "add kubeconfig types""
...
This reverts commit 02dbad7094
.
2015-01-08 09:42:30 -05:00
Brendan Burns
02dbad7094
Revert "add kubeconfig types"
2015-01-07 12:39:37 -08:00
deads2k
0e688dc271
add kubeconfig file
2015-01-07 13:09:10 -05:00