-
Notifications
You must be signed in to change notification settings - Fork 899
MON-4647: increase regex maxLength from 1000 to 8192 #3052
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2153,10 +2153,10 @@ type RelabelConfig struct { | |
| // Must be a valid RE2 regular expression (https://github.com/google/re2/wiki/Syntax). | ||
| // When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time. | ||
| // The default value is "(.*)" to match everything. | ||
| // Must be between 1 and 1000 characters in length when specified. | ||
| // Must be between 1 and 8192 characters in length when specified. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Out of scope of this PR, but it would be nice to have some validation around RE2, since this just allows any string. I assume the consumer of this API does that already, though |
||
| // +optional | ||
| // +kubebuilder:validation:MinLength=1 | ||
| // +kubebuilder:validation:MaxLength=1000 | ||
| // +kubebuilder:validation:MaxLength=8192 | ||
| Regex string `json:"regex,omitempty"` | ||
|
|
||
| // action defines the action to perform on the matched labels and its configuration. | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.