-
Notifications
You must be signed in to change notification settings - Fork 630
jsondataLimiitSetmap set default to -1 seems empty map breaks downstream #4893
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
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 |
|---|---|---|
|
|
@@ -23,5 +23,5 @@ metadata: | |
| knative.dev/example-checksum: "6eaeecba" | ||
| data: | ||
| ping-config: | | ||
| # dataMaxSize: 10 # Max number of bytes allowed to be sent for message excluding any base64 decoding. | ||
|
Member
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. if
Contributor
Author
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. This was modeled after https://github.com/knative/eventing/blob/master/config/core/configmaps/default-channel.yaml
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.
For this feature, we are talking about simple keys/values, so the pattern below sounds much more suitable to me: data:
_example: |
################################
# #
# EXAMPLE CONFIGURATION #
# #
################################
# Max number of bytes allowed to be sent for message excluding any base64 decoding.
dataMaxSize: -1
dataMaxSize: 4096The
Contributor
Author
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. @antoineco thx for that explanation. Due to other work I probably at this time won't get to make these changes before this coming release |
||
| # Default is no limit set for data | ||
| dataMaxSize: -1 # Max number of bytes allowed to be sent for message excluding any base64 decoding. | ||
| # -1 For no limit | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I already commented on that in the previous PR but it wasn't addressed. There is no
_examplekey in this ConfigMap, so this needs to be removed, otherwise a checksum check will always fail against this ConfigMap.