Prevent attach from being served by default via the proxy

This commit is contained in:
Clayton Coleman
2015-10-06 14:26:29 -04:00
parent 363b616908
commit 554ce403e4
4 changed files with 12 additions and 3 deletions

View File

@@ -67,7 +67,7 @@ The above lets you 'curl localhost:8001/custom/api/v1/pods'
Regular expression for HTTP methods that the proxy should reject.
.PP
\fB\-\-reject\-paths\fP="^/api/.\fI/exec,^/api/.\fP/run"
\fB\-\-reject\-paths\fP="^/api/.\fI/exec,^/api/.\fP/run,^/api/.*/attach"
Regular expression for paths that the proxy should reject.
.PP