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
proto: add a new field called append_action in the HeaderValueOption #18246
proto: add a new field called append_action in the HeaderValueOption #18246
Conversation
Signed-off-by: Rohit Agrawal <rohit.agrawal@databricks.com>
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
Signed-off-by: Rohit Agrawal <rohit.agrawal@databricks.com>
// Header name/value pair that this option applies to. | ||
HeaderValue header = 1 [(validate.rules).message = {required: true}]; | ||
|
||
// Should the value be appended? If true (default), the value is appended to | ||
// existing values. Otherwise it replaces any existing values. | ||
google.protobuf.BoolValue append = 2; | ||
|
||
// Describes the action taken to append/overwrite the given value for an existing header | ||
// or to only add this header if it's absent. Value defaults to :ref:`APPEND_IF_EXISTS_OR_ADD<envoy_v3_api_enum_value_config.core.v3.HeaderValueOption.HeaderAppendAction.APPEND_IF_EXISTS_OR_ADD>`. |
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.
Can you mark this [#not-implemented-hide] just in case it takes a bit for the other PR to land? Thank you.
/wait
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.
Done!
Signed-off-by: Rohit Agrawal <rohit.agrawal@databricks.com>
Signed-off-by: Rohit Agrawal <rohit.agrawal@databricks.com>
/retest |
Retrying Azure Pipelines: |
/retest |
Retrying Azure Pipelines: |
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.
Thanks, please don't forget to revert the not-implemented hide changes in your other PR.
Thanks, @mattklein123! Yes, I'll revert the not-implemented hide changes and will address all the remaining comments. |
…nvoyproxy#18246) Signed-off-by: Rohit Agrawal <rohit.agrawal@databricks.com>
This PR adds a new field called
append_action
to theHeaderValueOption
. This is just the.proto
change being done in the preparation for #18130. We'll mark the existingappend
field as deprecated in #18310.append_action
extends the header matcher by describing what append action to take indicating whether:Commit Message: add a new field called append_action in the HeaderValueOption.
Additional Description: Adds a new field called
append_action
inHeaderValueOption
which will ultimately deprecate the oldappend
and will extend the existing matcher functionality.Risk Level: -
Testing: -
Docs Changes: N/A (Will be done in #18130)
Release Notes: N/A (Will be done in #18130)
Platform Specific Features: N/A
Signed-off-by: Rohit Agrawal rohit.agrawal@databricks.com