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
Stef Walter
f6da3fdbe1
kubectl: Add proxy --unix-socket=/file/path option
...
Proxies on a TCP port are accessible outside the current security
context (eg: uid). Add support for having the proxy listen on a
unix socket, which has permissions applied to it.
We make sure the socket starts its life only accessible by the
current user using Umask.
This is useful for applications like Cockpit and other tools which
want the help of kubectl to handle authentication, configuration and
transport security, but also want to not make that accessible to
all users on a multi-user system.
2015-08-06 11:56:47 +02:00
Mike Danese
17defc7383
run gofmt on everything we touched
2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Jeff Lowdermilk
f71a662dc6
Make `kubectl proxy` support picking a random port
2015-07-27 09:56:33 -07:00
Brendan Burns
4aeee94603
Add some XSRF protection to kubectl proxy.
2015-06-10 20:55:33 -07:00
Kris Rousey
6e83eb2636
Updating docs/ to v1
2015-06-05 14:09:49 -07:00
Daniel Smith
1bab36f772
Fix 'kubectl proxy' to allow the /metrics page to be proxied, without breaking the previous proxy behavior
2015-06-03 18:31:45 -07:00
Jeff Lowdermilk
75314718eb
update/fix kubectl proxy example in help string
2015-05-28 13:59:39 -07: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
6344cf3c3a
refactor to move kubectl.cmd.Factory to kubect/cmd/util
2015-04-07 14:43:50 -04: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
MikeJeffrey
e5459c8802
Clean up kubectl help for auto-gen'd kubectl.md
2015-02-10 12:02:05 -08:00
Jimmi Dyson
f4a9b62d06
Configurable API prefix for kubectl proxy
2015-02-10 13:58:46 +00: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
Jimmi Dyson
e2baf049c0
kubectl proxy: make static prefix configurable
2015-02-04 15:57:21 +00:00
Jeff Lowdermlk
6e98ce34ca
Fix kubectl proxy
...
Port flag was being ignored. Fixed now.
2015-01-28 15:07:00 -08:00
Clayton Coleman
8a4f225941
Make expandResourceShortcuts part of RESTMapper on client
2015-01-09 11:59:11 -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
deads2k
2dbfb80349
add utility for binding flags and building api server clients
2014-11-26 07:50:51 -05:00
Michal Fojtik
0c76c44972
Make getKubeConfig public to allow it for external consumption
2014-11-11 16:02:39 +01:00
fabianofranz
c43637b73c
Extract several kubectl helpers from cmd/cmd.go
2014-11-10 15:09:32 -02:00
alex
fb2b15a797
Replace custom proxy with httputil.ReverseProxy for kubecfg/kubectl.
...
Fixes #1149 - kubecfg proxy "411 Length Required" error on POST/PUT.
2014-10-21 18:52:18 +01:00
Sam Ghods
4b220f8b0a
kubectl: kubecfg rewrite for better modularity and improved UX
2014-10-15 15:29:54 -07:00