Commit Graph

37 Commits (b24b251cb13e3a960e8638928e7d40c3b3d79478)

Author SHA1 Message Date
Mike Danese aea3403734 make use-context return error when context does not exist 2015-06-30 19:08:55 -07:00
fabianofranz fae27669aa Fixes kubectl config set-credentials examples 2015-06-22 17:34:04 -03:00
Mike Danese 401d3c43fd remove removed flags from usage examples 2015-06-09 12:56:58 -07:00
James DeFelice 4b8995f009 parse apiserver prefix from client config host spec, with unit test 2015-06-04 20:20:19 +00:00
deads2k 19784dbc4f remove auth-path from kubeconfig 2015-05-11 10:40:23 -04:00
deads2k 6498fc1fda remove cmd respect for auth-path 2015-05-08 16:33:33 -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
nikhiljindal dcc368c781 Removing more references to v1beta1 from pkg/ 2015-04-24 00:45:17 -07:00
Jeff Lowdermilk fa6ce7b7bf Add a --raw flag to kubectl config view
Defaults to false, unless --flatten is specified. Default behavior
(--raw=false) is that byte data (Client{Certificate,Key}data,
CertificateAuthorityData) is redacted for a more human-readable view.
Useful for manually inspecting files that have embeded data.
2015-04-23 09:19:45 -07: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 bac5cbbe82 add flattening and minifying options to config view 2015-04-14 10:23:10 -04:00
Daniel Smith f591873af7 Add DeepCopy! Also-- optimize conversion for []byte 2015-04-10 13:26:46 -07:00
deads2k b2e3f2185e make kubectl config behave more expectedly 2015-04-09 15:43:57 -04:00
Jeff Lowdermilk ca6f1a1bc7 Merge pull request #6476 from deads2k/deads-fix-kubeconfig-serialization
fix kubeconfig serialization
2015-04-09 09:41:26 -07:00
deads2k 6344cf3c3a refactor to move kubectl.cmd.Factory to kubect/cmd/util 2015-04-07 14:43:50 -04:00
deads2k 06c9dbd32f add example for default view serialization 2015-04-07 08:07:24 -04:00
deads2k 5c4b6583e4 fix kubectl config view to respect serialization formats 2015-04-07 08:07:24 -04:00
Tamer Tas 6d84838c0f Refactor kubectl/cmd/config/getConfigFromFileOrDie 2015-04-06 22:50:07 +03:00
deads2k 8555ed3ede allow any number of kubeconfig files 2015-03-17 08:49:34 -04: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
Jeff Lowdermilk 6e704d174d Simplify generating kubeconfig with embeded cert data 2015-03-03 12:18:07 -08:00
Jeff Lowdermilk 8cfe099af1 Revert "fix kubectl config view to respect serialization formats" 2015-02-24 12:06:24 -08:00
Clayton Coleman 76926ec314 Merge pull request #4660 from deads2k/deads-make-default-display-yaml
fix kubectl config view to respect serialization formats
2015-02-24 07:56:57 -08:00
deads2k 6358bf2e30 add example for default view serialization 2015-02-24 08:54:03 -05:00
Eric Paris d508395828 Change all cobra commands to use the example section
This will output the examples in their own section, rather than as part
of the 'long' synposis.
2015-02-20 16:41:31 -05:00
deads2k 2b25c48b1f fix kubectl config view to respect serialization formats 2015-02-20 14:28:23 -05:00
deads2k 885d88f274 prevent default merging when specifying a specific kubeconfig for config view 2015-02-20 09:27:34 -05: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 941461044b guard against unexpected type during config manipulation 2015-02-13 13:15:47 -05:00
deads2k 2dcaab75f5 allow dots in config set 2015-02-13 13:11:42 -05:00
Jeff Lowdermilk 5a702ad123 Allow --output formatting of kubectl config view, make merge default 2015-02-05 10:44:16 -08:00
deads2k affa85fab0 add flag to manage $KUBECONFIG files 2015-02-03 16:12:02 -05:00
fabianofranz de14a6ff08 Fix typos 2015-02-02 14:25:00 -02:00
deads2k 05bc508a13 make all kubectl config set-* easier to use 2015-01-26 15:16:54 -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