mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 20:50:24 +00:00
Merge pull request #9287 from brendandburns/kubectl
Add some XSRF protection to kubectl proxy.
This commit is contained in:
@@ -520,11 +520,16 @@ _kubectl_proxy()
|
||||
flags_with_completion=()
|
||||
flags_completion=()
|
||||
|
||||
flags+=("--accept-hosts=")
|
||||
flags+=("--accept-paths=")
|
||||
flags+=("--api-prefix=")
|
||||
flags+=("--disable-filter")
|
||||
flags+=("--help")
|
||||
flags+=("-h")
|
||||
flags+=("--port=")
|
||||
two_word_flags+=("-p")
|
||||
flags+=("--reject-methods=")
|
||||
flags+=("--reject-paths=")
|
||||
flags+=("--www=")
|
||||
two_word_flags+=("-w")
|
||||
flags+=("--www-prefix=")
|
||||
|
Reference in New Issue
Block a user