Skip to content

Commit da5b0c8

Browse files
authored
Added missing SnippetsFilter in the HTTPRoutes in example (#3182)
Added missing SnippetsFilter in the HTTPRoutes for the snippets-filter example
1 parent bfd685d commit da5b0c8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Diff for: examples/snippets-filter/httproutes.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ spec:
1313
- path:
1414
type: PathPrefix
1515
value: /coffee
16+
filters:
17+
- type: ExtensionRef
18+
extensionRef:
19+
group: gateway.nginx.org
20+
kind: SnippetsFilter
21+
name: rate-limiting-sf
1622
backendRefs:
1723
- name: coffee
1824
port: 80
@@ -32,6 +38,12 @@ spec:
3238
- path:
3339
type: PathPrefix
3440
value: /tea
41+
filters:
42+
- type: ExtensionRef
43+
extensionRef:
44+
group: gateway.nginx.org
45+
kind: SnippetsFilter
46+
name: no-delay-rate-limiting-sf
3547
backendRefs:
3648
- name: tea
3749
port: 80

0 commit comments

Comments
 (0)