Implement MessageExpression.

Kubernetes-commit: 4e26f680a9e10f0da94830bbaba9633807e22aba
This commit is contained in:
Kermit Alexander II 2023-03-07 23:24:23 +00:00 committed by Kubernetes Publisher
parent 7a3a376fee
commit fb14f0e553
1 changed files with 4 additions and 0 deletions

View File

@ -33,4 +33,8 @@ const (
// TODO(DangerOnTheRanger): wire in MaxRequestBodyBytes from apiserver/pkg/server/options/server_run_options.go to make this configurable
// Note that even if server_run_options.go becomes configurable in the future, this cost constant should be fixed and it should be the max allowed request size for the server
MaxRequestSizeBytes = int64(3 * 1024 * 1024)
// MaxEvaluatedMessageExpressionSizeBytes represents the largest-allowable string generated
// by a messageExpression field
MaxEvaluatedMessageExpressionSizeBytes = 5 * 1024
)