mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-08 15:21:55 +00:00
impersonator: add comment about long running func
Signed-off-by: Monis Khan <mok@vmware.com>
This commit is contained in:
@@ -129,6 +129,10 @@ func newInternal( //nolint:funlen // yeah, it's kind of long.
|
||||
serverConfig.LoopbackClientConfig.BearerToken = ""
|
||||
|
||||
// match KAS exactly since our long running operations are just a proxy to it
|
||||
// this must be kept in sync with github.com/kubernetes/kubernetes/cmd/kube-apiserver/app/server.go
|
||||
// this is nothing to stress about - it has not changed since the beginning of Kube:
|
||||
// v1.6 no-op move away from regex to request info https://github.com/kubernetes/kubernetes/pull/38119
|
||||
// v1.1 added pods/attach to the list https://github.com/kubernetes/kubernetes/pull/13705
|
||||
serverConfig.LongRunningFunc = filters.BasicLongRunningRequestCheck(
|
||||
sets.NewString("watch", "proxy"),
|
||||
sets.NewString("attach", "exec", "proxy", "log", "portforward"),
|
||||
|
||||
Reference in New Issue
Block a user