Commit Graph

26 Commits

Author SHA1 Message Date
Daniel Smith
1d25410c3b Run new update-generated-docs.sh script 2016-06-08 17:25:21 -07:00
deads2k
ac4c545b91 add act-as powers 2016-04-14 12:49:10 -04:00
nikhiljindal
593b78f925 Deprecating --api-version flag 2016-03-11 10:12:44 -08:00
AdoHe
9cc668f7c6 update commented examples just remove $ 2016-02-29 09:41:09 -05:00
hurf
1270764eb9 Fix description errro for client-certificate option
From "client key file" to "client certificate file".
2015-11-24 09:33:35 +08:00
Janet Kuo
f47c2be539 Change kubectl proxy --api-prefix default to allow /apis/ 2015-10-14 15:49:52 -07:00
Clayton Coleman
554ce403e4 Prevent attach from being served by default via the proxy 2015-10-09 14:33:40 -04:00
Dr. Stefan Schimanski
687e2d8c8e Update docs 2015-09-30 15:54:01 +02:00
Eric Paris
bf7646bd9e Update docs based on new spf13/cobra 2015-09-04 19:20:03 -04:00
Janet Kuo
5823ef771b Make --validate default on and shows how to turn if off 2015-08-25 03:18:32 -07: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
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
Jeff Lowdermilk
f71a662dc6 Make kubectl proxy support picking a random port 2015-07-27 09:56:33 -07:00
Daniel Smith
689a3ee7a2 Make UI work through kubectl proxy (again)
Fixes #10115.
2015-06-24 13:54:14 -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
d615bbb233 gendocs 2015-06-03 18:34:37 -07:00
Jeff Lowdermilk
75314718eb update/fix kubectl proxy example in help string 2015-05-28 13:59:39 -07:00
Anastasis Andronidis
5eae2378d6 Warn for every _ flag user or cmd defined
also renames all global _ flags to -
2015-05-27 11:23:52 +02:00
deads2k
19784dbc4f remove auth-path from kubeconfig 2015-05-11 10:40:23 -04:00
Brendan Burns
c66caa5336 Revert "Revert "Update cobra/pflag. Also update generated kubectl documentation.""
This reverts commit 69432e8b2f.

    COMMIT_BLOCKED_ON_GENDOCS
2015-03-23 21:06:45 -07:00
Piotr Szczesniak
69432e8b2f Revert "Update cobra/pflag. Also update generated kubectl documentation." 2015-03-16 12:21:20 +01:00
Brendan Burns
cf213ab79c Update generated docs, given upstream cobra/pflag changes. 2015-03-13 14:22:06 -07: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
Eric Paris
421da2043a Generate new docs with the new changes 2015-02-20 16:41:31 -05:00
Eric Paris
9e9fb9457f automatically generate man pages for kubectl
generate man pages for kubectl using the cobra.Command information.
This will directly create files in (by default) docs/man/man1/ called
kubectl*.1.  Each child verb/cobra command will gets its own man page.
2015-02-12 19:08:52 -05:00