Skip to content

Commit 9a7db4c

Browse files
authored
docs: replace deprecated match_config with match in tap filter examples (#43955)
## Summary - Replace the deprecated `match_config` field with `match` in all 7 YAML examples in the tap filter documentation - `match_config` has been deprecated since v3.0 (see `api/envoy/config/tap/v3/common.proto`) - Both fields use the same `MatchPredicate` type so the YAML structure is unchanged Fixes #20190 Continues the work from #20194. Risk Level: Low (docs only) Testing: N/A Docs Changes: Updated all tap filter examples Release Notes: N/A Signed-off-by: Kit <kit@kovan.dev> 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Kit <kit@kovan.dev> Signed-off-by: kovan <xaum.io@gmail.com>
1 parent aa354be commit 9a7db4c

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

docs/root/configuration/http/http_filters/tap_filter.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ An example POST body:
7272
7373
config_id: test_config_id
7474
tap_config:
75-
match_config:
75+
match:
7676
and_match:
7777
rules:
7878
- http_request_headers_match:
@@ -99,7 +99,7 @@ Another example POST body:
9999
100100
config_id: test_config_id
101101
tap_config:
102-
match_config:
102+
match:
103103
or_match:
104104
rules:
105105
- http_request_headers_match:
@@ -126,7 +126,7 @@ Another example POST body:
126126
127127
config_id: test_config_id
128128
tap_config:
129-
match_config:
129+
match:
130130
any_match: true
131131
output_config:
132132
sinks:
@@ -141,7 +141,7 @@ Another example POST body:
141141
142142
config_id: test_config_id
143143
tap_config:
144-
match_config:
144+
match:
145145
and_match:
146146
rules:
147147
- http_request_headers_match:
@@ -192,7 +192,7 @@ An example of a streaming admin tap configuration that uses the :ref:`JSON_BODY_
192192
193193
config_id: test_config_id
194194
tap_config:
195-
match_config:
195+
match:
196196
any_match: true
197197
output_config:
198198
sinks:
@@ -227,7 +227,7 @@ An example of a buffered admin tap configuration:
227227
228228
config_id: test_config_id
229229
tap_config:
230-
match_config:
230+
match:
231231
any_match: true
232232
output_config:
233233
sinks:
@@ -267,7 +267,7 @@ An static filter configuration to enable streaming output looks like:
267267
"@type": type.googleapis.com/envoy.extensions.filters.http.tap.v3.Tap
268268
common_config:
269269
static_config:
270-
match_config:
270+
match:
271271
http_response_headers_match:
272272
headers:
273273
- name: bar

0 commit comments

Comments
 (0)