Skip to content

Commit

Permalink
chore: update envoypatch test (#3231)
Browse files Browse the repository at this point in the history
update envoypatch test

Signed-off-by: zirain <zirain2009@gmail.com>
  • Loading branch information
zirain authored Apr 23, 2024
1 parent 6b5f4ed commit 08c4fdf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/xds/translator/testdata/in/xds-ir/jsonpatch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ envoyPatchPolicies:
name: "first-policy"
namespace: "default"
jsonPatches:
- type: "type.googleapis.com/envoy.config.listener.v3.Listener"
name: first-listener
operation:
op: add
path: "/filter_chains/0/filters/0/typed_config/preserve_external_request_id"
value: true
- type: "type.googleapis.com/envoy.config.listener.v3.Listener"
name: "first-listener"
operation:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
mergeSlashes: true
normalizePath: true
pathWithEscapedSlashesAction: UNESCAPE_AND_REDIRECT
preserveExternalRequestId: true
rds:
configSource:
ads: {}
Expand Down

0 comments on commit 08c4fdf

Please sign in to comment.