jackgr
ef3f64612e
Add calls to set annotation for kubectl apply
2015-10-07 17:15:56 -07:00
Brendan Burns
9ba13ff361
Address comments
2015-09-11 13:55:16 -07:00
Brendan Burns
d9e1a00a14
Add caching for swagger schemas
2015-09-10 21:18:52 -07:00
deads2k
f1b81ff678
bind filenames var instead of looking up
2015-09-01 08:35:57 -04:00
Janet Kuo
5823ef771b
Make --validate default on and shows how to turn if off
2015-08-25 03:18:32 -07:00
feihujiang
29dc7f6ec2
Make a change to visitor to allow it to accept an error, like Go's path walker
2015-08-20 10:57:28 +08:00
Peeyush Agarwal
05e069d038
Use bash comments in kubectl examples
...
Comments in kubectl examples should use bash comments, not Go comments.
So, replaces // by # for example strings.
2015-08-12 19:56:23 +00:00
Eric Paris
7cbb52ce04
Use the pflag StringSlice instead of implementing it ourselves
...
Saves code and makes our code easier to read because we just use normal
[]string instead of custom type.
2015-08-06 19:16:13 -04:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Janet Kuo
0e42d0699a
Add '-o name' to mutations
2015-07-27 14:06:53 -07:00
Brian Grant
5540917094
Merge pull request #11366 from davidopp/doc1
...
Move docs/services-firewalls.md into docs/user-guide/ and make small
2015-07-16 22:48:13 -07:00
Tim Hockin
f7512d007b
Add munger to verify kubectl -f targets, fix docs
2015-07-16 15:39:45 -07:00
David Oppenheimer
fd2c3695e3
Move docs/services-firewalls.md into docs/user-guide/ and make small
...
wording changes to api.md
2015-07-16 13:21:14 -07:00
Tim Hockin
fe89298c09
Fix load-balancer firewall messages
2015-07-14 21:07:46 -07:00
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
Maxwell Forbes
d90895adfd
Merge pull request #10221 from feihujiang/addSourceForErrorFromServerMessage
...
Add source in “error from server” message when using kubectl
2015-06-25 10:56:46 -07:00
feihujiang
b41b53122a
Add source in “error from server” message when using kubectl
2015-06-25 14:20:09 +08:00
Brendan Burns
f0ff1927f1
Fixup port printing.
2015-06-19 15:10:22 -07:00
gong yong sheng
3a598eba0e
Use NodePort instead Port, firewalls install firewall.
2015-06-19 14:48:43 -07:00
Brendan Burns
380790a8e2
Add messages to indicate that opening an external firewall may be necessary.
2015-06-04 22:31:52 -07:00
Brendan Burns
7f11585972
Fix validation by moving it into the resource builder.
...
Also always print an error for unknown field.
2015-05-08 14:00:33 -07:00
Filip Grzadkowski
be2b2466f3
Merge pull request #7076 from eparis/bash-5-kubectl-required-flags
...
annotate required flags for bash_completions
2015-05-04 13:26:11 +02: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
Eric Paris
0620940d26
annotate required flags for bash_completions
...
some commands require that certain flags be set in order to function.
Annotate those flags so the bash completions will suggest to the user
that they be set.
2015-04-20 18:33:00 -04:00
Eric Paris
de3864a1c2
bash_completions: Generic function for --filename arguments
...
This generic function adds --filename= arguments to commands, and does
the magic so they get bash completions to find json, yaml, or yml files.
2015-04-14 18:25:52 -04:00
deads2k
6344cf3c3a
refactor to move kubectl.cmd.Factory to kubect/cmd/util
2015-04-07 14:43:50 -04:00
Young
ad3712d07c
RunCreate don't need the cmd arg any more
2015-04-07 21:39:48 +08:00
Young
84bfda0587
remove cmd arg
...
related issue "Remove cmd from kubectl/cmd/factory arguments #4470"
2015-03-27 21:46:17 +08:00
Clayton Coleman
581d7cd789
Allow resource.Builder commands to take arguments by type/name
...
Will allow xarg behavior to fetch resources across multiple types.
Changes 'create', 'get', 'update', 'stop', and 'delete' to output
<resourceType>/<name>.
2015-03-25 20:39:22 -04:00
Brendan Burns
99267d725c
Add validation of args for create.
2015-03-24 11:21:52 -07:00
Tamer Tas
b39e31d8a3
Remove cmd from kubectl/cmd/factory
2015-03-18 14:23:14 +02: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
cd7d78b696
Make kubectl commands return errors and centralize exit handling
2015-03-10 10:19:43 -07:00
Brendan Burns
f505a33998
Differentiate between server error messages and client error messages in kubectl
2015-03-07 11:39:23 +01: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
MikeJeffrey
ca1e9f8061
Comments go above the sample line in kubectl docs.
2015-02-12 15:49:25 -08:00
MikeJeffrey
e5459c8802
Clean up kubectl help for auto-gen'd kubectl.md
2015-02-10 12:02:05 -08:00
Brendan Burns
e7b11d09de
Add some error checking to prevent obscure failures.
2015-02-10 06:32:26 -08:00
Jeff Lowdermilk
6021dcba30
Merge pull request #4213 from smarterclayton/use_name_from_server
...
Use name from server when displaying create/update
2015-02-09 09:41:20 -08:00
Clayton Coleman
52c6c60b15
Use name from server when displaying create/update
...
Allows generated names from files to be displayed so users can
interact with them.
2015-02-08 21:40:47 -05:00
Jeff Lowdermilk
d46ae5d841
Refactor kubectl/cmd helpers into pkg/kubectl/cmd/util
...
Allows helpers to be used by config commands.
2015-02-05 09:39:42 -08:00
deads2k
dd01137138
add namespace to kubeconfig file
2015-01-20 16:07:54 -05:00
Clayton Coleman
ccdc20d90c
Ignore empty objects from streams and error when nothing passed to create
...
Passing zero objects to create should be an error
2015-01-14 13:12:33 -05:00
Clayton Coleman
d1ab27762b
Create should be able to accept multiple resources
2015-01-09 13:30:31 -05:00
Clayton Coleman
8a4f225941
Make expandResourceShortcuts part of RESTMapper on client
2015-01-09 11:59:11 -05:00
Clayton Coleman
a1ee782df5
Use resource package, delete older code
2015-01-09 11:59:11 -05:00
Clayton Coleman
158f322301
Use preferred resource version
2014-12-22 14:46:31 -05:00
Brendan Burns
c29f5db81c
Revert "Revert "Add optional validation to kubecfg/kubectl.""
...
This reverts commit 6590c66dd4
.
2014-12-09 12:37:48 -08:00
Michal Fojtik
17e24aed47
Export GetKubeNamespace function from kubectl
2014-12-03 13:15:48 +01:00
Joe Beda
6590c66dd4
Revert "Add optional validation to kubecfg/kubectl."
...
This reverts commit acf6d82800
.
2014-11-25 14:45:00 -08:00