From 910a859d3b6985a33a54427be690143edf66dfc2 Mon Sep 17 00:00:00 2001 From: Leon Seng <26860216+leonseng@users.noreply.github.com> Date: Fri, 28 Feb 2025 11:19:37 +1100 Subject: [PATCH] Added missing SnippetsFilter in the HTTPRoutes for the snippets-filter example --- examples/snippets-filter/httproutes.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/examples/snippets-filter/httproutes.yaml b/examples/snippets-filter/httproutes.yaml index fe2c435980..1811c6833f 100644 --- a/examples/snippets-filter/httproutes.yaml +++ b/examples/snippets-filter/httproutes.yaml @@ -13,6 +13,12 @@ spec: - path: type: PathPrefix value: /coffee + filters: + - type: ExtensionRef + extensionRef: + group: gateway.nginx.org + kind: SnippetsFilter + name: rate-limiting-sf backendRefs: - name: coffee port: 80 @@ -32,6 +38,12 @@ spec: - path: type: PathPrefix value: /tea + filters: + - type: ExtensionRef + extensionRef: + group: gateway.nginx.org + kind: SnippetsFilter + name: no-delay-rate-limiting-sf backendRefs: - name: tea port: 80