From 687e2d8c8ef98f1cf6f6915e3971137244b9f13f Mon Sep 17 00:00:00 2001 From: "Dr. Stefan Schimanski" Date: Wed, 30 Sep 2015 13:27:07 +0200 Subject: [PATCH] Update docs --- contrib/completions/bash/kubectl | 1 + docs/man/man1/kubectl-proxy.1 | 4 ++++ docs/user-guide/kubectl/kubectl_proxy.md | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/contrib/completions/bash/kubectl b/contrib/completions/bash/kubectl index 8c05586fa31..dc25cdfce34 100644 --- a/contrib/completions/bash/kubectl +++ b/contrib/completions/bash/kubectl @@ -687,6 +687,7 @@ _kubectl_proxy() flags+=("--accept-hosts=") flags+=("--accept-paths=") + flags+=("--address=") flags+=("--api-prefix=") flags+=("--disable-filter") flags+=("--port=") diff --git a/docs/man/man1/kubectl-proxy.1 b/docs/man/man1/kubectl-proxy.1 index b2e232da800..4fcb828c667 100644 --- a/docs/man/man1/kubectl-proxy.1 +++ b/docs/man/man1/kubectl-proxy.1 @@ -46,6 +46,10 @@ The above lets you 'curl localhost:8001/custom/api/v1/pods' \fB\-\-accept\-paths\fP="^/.*" Regular expression for paths that the proxy should accept. +.PP +\fB\-\-address\fP="127.0.0.1" + The IP address on which to serve on. + .PP \fB\-\-api\-prefix\fP="/api/" Prefix to serve the proxied API under. diff --git a/docs/user-guide/kubectl/kubectl_proxy.md b/docs/user-guide/kubectl/kubectl_proxy.md index 2be1e5f938b..db211b5856e 100644 --- a/docs/user-guide/kubectl/kubectl_proxy.md +++ b/docs/user-guide/kubectl/kubectl_proxy.md @@ -79,6 +79,7 @@ $ kubectl proxy --api-prefix=/k8s-api ``` --accept-hosts="^localhost$,^127\\.0\\.0\\.1$,^\\[::1\\]$": Regular expression for hosts that the proxy should accept. --accept-paths="^/.*": Regular expression for paths that the proxy should accept. + --address="127.0.0.1": The IP address on which to serve on. --api-prefix="/api/": Prefix to serve the proxied API under. --disable-filter[=false]: If true, disable request filtering in the proxy. This is dangerous, and can leave you vulnerable to XSRF attacks, when used with an accessible port. -p, --port=8001: The port on which to run the proxy. Set to 0 to pick a random port. @@ -121,7 +122,7 @@ $ kubectl proxy --api-prefix=/k8s-api * [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager -###### Auto generated by spf13/cobra at 2015-09-10 18:53:03.156927042 +0000 UTC +###### Auto generated by spf13/cobra at 2015-09-30 13:52:13.608206963 +0000 UTC [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/user-guide/kubectl/kubectl_proxy.md?pixel)]()