mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 23:19:26 +00:00
Add some XSRF protection to kubectl proxy.
This commit is contained in:
@@ -519,11 +519,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