@@ -258,6 +258,9 @@ resources:
258258 max_program_size : 150
259259 regex : >-
260260 /auth/v1/(verify|callback|authorize|sso/saml/(acs|metadata|slo)|\.well-known/(openid-configuration|jwks\.json))
261+ request_headers_to_remove :
262+ - apikey
263+ - sb-opk
261264 route :
262265 cluster : gotrue
263266 regex_rewrite :
@@ -271,6 +274,9 @@ resources:
271274 typed_per_filter_config : *ref_0
272275 - match :
273276 prefix : /auth/v1/
277+ request_headers_to_remove :
278+ - apikey
279+ - sb-opk
274280 route :
275281 cluster : gotrue
276282 prefix_rewrite : /
@@ -282,6 +288,7 @@ resources:
282288 present_match : true
283289 request_headers_to_remove :
284290 - apikey
291+ - sb-opk
285292 route :
286293 cluster : postgrest
287294 prefix_rewrite : /
@@ -295,6 +302,7 @@ resources:
295302 prefix : /rest/v1/
296303 request_headers_to_remove :
297304 - apikey
305+ - sb-opk
298306 route :
299307 cluster : postgrest
300308 prefix_rewrite : /
@@ -311,6 +319,7 @@ resources:
311319 present_match : true
312320 request_headers_to_remove :
313321 - apikey
322+ - sb-opk
314323 route :
315324 cluster : postgrest_admin
316325 prefix_rewrite : /
@@ -323,6 +332,7 @@ resources:
323332 prefix : /rest-admin/v1/
324333 request_headers_to_remove :
325334 - apikey
335+ - sb-opk
326336 route :
327337 cluster : postgrest_admin
328338 prefix_rewrite : /
@@ -332,18 +342,25 @@ resources:
332342 header :
333343 key : Content-Profile
334344 value : graphql_public
345+ request_headers_to_remove :
346+ - apikey
347+ - sb-opk
335348 route :
336349 cluster : postgrest
337350 prefix_rewrite : /rpc/graphql
338351 timeout : 125s
339352 - match :
340353 prefix : /admin/v1/
354+ request_headers_to_remove :
355+ - sb-opk
341356 route :
342357 cluster : admin_api
343358 prefix_rewrite : /
344359 timeout : 600s
345360 - match :
346361 prefix : /customer/v1/privileged/
362+ request_headers_to_remove :
363+ - sb-opk
347364 route :
348365 cluster : admin_api
349366 prefix_rewrite : /privileged/
@@ -367,6 +384,8 @@ resources:
367384 treat_missing_header_as_empty : true
368385 - match :
369386 prefix : /metrics/aggregated
387+ request_headers_to_remove :
388+ - sb-opk
370389 route :
371390 cluster : admin_api
372391 prefix_rewrite : /supabase-internal/metrics
0 commit comments