juanvallejo
988e747649
update default run function for sub-commands
...
This patch updates parent commands of sub-commands to exit with a usage
error and exit code 1 on an invalid (non-sub-command) argument.
2016-10-31 10:08:12 -04:00
Fabiano Franz
f6d1ac72a0
Use our own normalizers for cmd examples and descriptions
2016-10-17 11:49:55 -02:00
Kubernetes Submit Queue
e24aff0711
Merge pull request #29821 from alexbrand/config-cluster
...
Automatic merge from submit-queue
Add get/delete cluster, delete context to kubectl config
Fixes #29794 by adding `get-clusters`, `delete-cluster` and `delete-context` actions to `kubectl config`.
2016-08-26 11:44:46 -07:00
Andrey Kurilin
91cace347d
Fix various typos in kubectl
2016-08-02 19:51:51 +03:00
abrand
82c700c896
Add get/delete cluster, delete context to kubectl
2016-08-01 17:04:13 -04:00
k8s-merge-robot
2da247ffbc
Merge pull request #26977 from joe2far/fix-help-strings
...
Automatic merge from submit-queue
Make kubectl help strings consistent
2016-07-07 00:12:22 -07:00
Angus Salkeld
e0ce987f4e
Add command "kubectl config get-contexts"
...
Note: Context is not a runtime object (doesn't have Kind and Version) so
we can't use the resource_printer
2016-07-05 11:24:00 +02:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
joe2far
25b4341dc7
Make kubectl help strings consistent
2016-06-29 12:50:24 +01:00
CJ Cullen
86293810af
Move ModifyConfig (and some related functions) into the clientcmd pkg.
2016-05-07 18:15:18 -07:00
Jeff Lowdermilk
734a8c0602
Change kubectl help/examples to use jsonpath instead of template
2016-01-28 16:10:48 -08:00
Tom Benner
52739bc82b
Add kubectl config current-context
2016-01-11 21:54:24 -08:00
Paul Morie
1cb58baf2f
Refactor map field handling for clientcmd.LoadFromFile
2015-11-14 09:44:31 -05:00
Paul Morie
75b1e6ec44
Fix panic bringing up e2e cluster when kubeconfig is empty
2015-11-03 11:19:36 -05:00
Brendan Burns
afea127a3e
Move the default schema cache to the home directory
2015-09-28 16:26:48 -07:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
deads2k
c5ef83b29b
relativize paths in kubeconfig files
2015-07-30 14:57:38 -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
deads2k
d24b672aa0
allow multiple changes in kubeconfig modifyconfig
2015-04-17 16:02:36 -04:00
deads2k
de4be5422c
change kubeconfig loading order
2015-04-16 13:05:09 -04:00
deads2k
b2e3f2185e
make kubectl config behave more expectedly
2015-04-09 15:43:57 -04:00
deads2k
6344cf3c3a
refactor to move kubectl.cmd.Factory to kubect/cmd/util
2015-04-07 14:43:50 -04:00
Tamer Tas
6d84838c0f
Refactor kubectl/cmd/config/getConfigFromFileOrDie
2015-04-06 22:50:07 +03:00
Jeff Lowdermilk
a5746c9a0e
Fix md generation for kubectl docs
...
Display usage string, not long help, as code, remove angle brackets from
output (.md interprets as tags and hides).
2015-03-11 16:42:40 -07:00
deads2k
affa85fab0
add flag to manage $KUBECONFIG files
2015-02-03 16:12:02 -05:00
Andrew Seidl
6dee1d7fa4
Fix typos in user-facing strings
2015-01-18 01:32:34 -06:00
deads2k
b51a717f6e
add kubectl config
2015-01-13 16:19:57 -05:00