Skip to content

Commit

Permalink
xds: remove usage of deprecated field exact_match (#5364)
Browse files Browse the repository at this point in the history
* xds: remove usage of deprecated field exact_match

Signed-off-by: zirain <[email protected]>

* fix gen

Signed-off-by: zirain <[email protected]>

---------

Signed-off-by: zirain <[email protected]>
  • Loading branch information
zirain authored Feb 28, 2025
1 parent c4bc5b2 commit 6d2b4b0
Show file tree
Hide file tree
Showing 51 changed files with 118 additions and 64 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ envoyProxyForGatewayClass:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down Expand Up @@ -711,8 +712,9 @@ xds:
routes:
- match:
headers:
- exactMatch: GET
name: :method
- name: :method
stringMatch:
exact: GET
path: /stats/prometheus
route:
cluster: prometheus_stats
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,10 @@
"match": {
"headers": [
{
"exactMatch": "GET",
"name": ":method"
"name": ":method",
"stringMatch": {
"exact": "GET"
}
}
],
"path": "/stats/prometheus"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,9 @@ xds:
routes:
- match:
headers:
- exactMatch: GET
name: :method
- name: :method
stringMatch:
exact: GET
path: /stats/prometheus
route:
cluster: prometheus_stats
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,9 @@ xds:
routes:
- match:
headers:
- exactMatch: GET
name: :method
- name: :method
stringMatch:
exact: GET
path: /stats/prometheus
route:
cluster: prometheus_stats
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,10 @@
"match": {
"headers": [
{
"exactMatch": "GET",
"name": ":method"
"name": ":method",
"stringMatch": {
"exact": "GET"
}
}
],
"path": "/stats/prometheus"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,9 @@ xds:
routes:
- match:
headers:
- exactMatch: GET
name: :method
- name: :method
stringMatch:
exact: GET
path: /stats/prometheus
route:
cluster: prometheus_stats
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,9 @@ xds:
routes:
- match:
headers:
- exactMatch: GET
name: :method
- name: :method
stringMatch:
exact: GET
path: /stats/prometheus
route:
cluster: prometheus_stats
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,9 @@ xds:
routes:
- match:
headers:
- exactMatch: GET
name: :method
- name: :method
stringMatch:
exact: GET
path: /stats/prometheus
route:
cluster: prometheus_stats
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ spec:
path: /stats/prometheus
headers:
- name: ":method"
exact_match: GET
string_match:
exact: GET
route:
cluster: prometheus_stats
http_filters:
Expand Down
Loading

0 comments on commit 6d2b4b0

Please sign in to comment.