mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-24 19:38:02 +00:00
Prevent attach from being served by default via the proxy
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user