You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add missing limitedReader
Signed-off-by: Tim Ramlot <[email protected]>
* update maxRequestSize and explain values in comment
Signed-off-by: Tim Ramlot <[email protected]>
* use more specific http error code
Signed-off-by: Tim Ramlot <[email protected]>
* add extra comments and update value for maxRequestSize
Signed-off-by: Tim Ramlot <[email protected]>
* use const instead of var
Signed-off-by: Tim Ramlot <[email protected]>
---------
Signed-off-by: Tim Ramlot <[email protected]>
// adapted from https://github.com/kubernetes/kubernetes/blob/c28c2009181fcc44c5f6b47e10e62dacf53e4da0/staging/src/k8s.io/pod-security-admission/cmd/webhook/server/server.go
38
+
//
39
+
// From https://github.com/kubernetes/apiserver/blob/d6876a0600de06fef75968c4641c64d7da499f25/pkg/server/config.go#L433-L442C5:
40
+
//
41
+
// 1.5MB is the recommended client request size in byte
0 commit comments