Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase fields limit #294

Merged
merged 1 commit into from
Mar 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion code/go/pkg/validator/limits_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func TestLimitsValidation(t *testing.T) {
{
title: "fieldsPerDataStreamLimit exceeded",
fsys: newMockFS().Good().WithFiles(
newMockFile("data_stream/foo/fields/many-fields.yml").WithContent(generateFields(1500)),
newMockFile("data_stream/foo/fields/many-fields.yml").WithContent(generateFields(2500)),
),
valid: false,
},
Expand Down
5 changes: 4 additions & 1 deletion versions/1/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
## This file documents changes in the package specification. It is NOT a package specification file.
## Newer entries go at the bottom.
##
- version: 1.5.1-next
- version: 1.6.0
changes:
- description: Validate required fields
type: enhancement
link: https:/elastic/package-spec/pull/291
- description: Increase fields limit from 1024 to 2048.
type: enhancement
link: https:/elastic/package-spec/pull/294
- version: 1.5.0
changes:
- description: Add kibana/csp-rule-template asset
Expand Down
2 changes: 1 addition & 1 deletion versions/1/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
sizeLimit: 150MB
configurationSizeLimit: 5MB
relativePathSizeLimit: 3MB
fieldsPerDataStreamLimit: 1024
fieldsPerDataStreamLimit: 2048
contents:
- description: The main package manifest file
type: file
Expand Down