Skip to content

Commit f61bb79

Browse files
Increase max config store value length
The maximum allowed length for a config store entry's value is now configurable. The default is still 8k characters, but may be larger. This increases the limit in the CLI to 64k. If a user attempts to create an entry larger than their allowed limit, the API will return an error.
1 parent 0208927 commit f61bb79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/commands/configstoreentry/errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
const (
1111
maxKeyLen = 256
12-
maxValueLen = 8000
12+
maxValueLen = 2 << 15
1313
)
1414

1515
var errNoSTDINData = fsterr.RemediationError{

0 commit comments

Comments
 (0)