Loosing the request body size limit to 100MB to account for the size

ratio between json and protobuf.
This commit is contained in:
Chao Xu
2019-02-07 14:43:35 -08:00
parent e90409d735
commit 27166e48b8
2 changed files with 14 additions and 10 deletions

View File

@@ -129,8 +129,8 @@ func TestAddFlags(t *testing.T) {
MaxMutatingRequestsInFlight: 200,
RequestTimeout: time.Duration(2) * time.Minute,
MinRequestTimeout: 1800,
JSONPatchMaxCopyBytes: int64(10 * 1024 * 1024),
MaxRequestBodyBytes: int64(10 * 1024 * 1024),
JSONPatchMaxCopyBytes: int64(100 * 1024 * 1024),
MaxRequestBodyBytes: int64(100 * 1024 * 1024),
},
Admission: &kubeoptions.AdmissionOptions{
GenericAdmission: &apiserveroptions.AdmissionOptions{