Skip to content

Commit

Permalink
Replace dynamicMetadata with filters in user-guides (#987)
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Cattermole <[email protected]>
  • Loading branch information
adam-cattermole authored Nov 7, 2024
1 parent a46de69 commit 0641157
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions doc/reference/authpolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@

##### SuccessResponseSpec

| **Field** | **Type** | **Required** | **Description** |
|-------------------|----------------------------------------------------------|:------------:|---------------------------------------------------------------------------------------------------------------------------------------------------|
| `headers` | Map<String: [SuccessResponseItem](#successresponseitem)> | No | Custom success response items wrapped as HTTP headers to be injected in the request. |
| `dynamicMetadata` | Map<String: [SuccessResponseItem](#successresponseitem)> | No | Custom success response items wrapped as Envoy Dynamic Metadata. Use it to pass data along to other proxy filters, such as the rate-limit filter. |
| **Field** | **Type** | **Required** | **Description** |
|-----------|----------------------------------------------------------|:------------:|------------------------------------------------------------------------------------------------------|
| `headers` | Map<String: [SuccessResponseItem](#successresponseitem)> | No | Custom success response items wrapped as HTTP headers to be injected in the request. |
| `filters` | Map<String: [SuccessResponseItem](#successresponseitem)> | No | Custom success response items made available to other filters managed by Kuadrant (i.e. Rate Limit). |

###### SuccessResponseItem

Expand Down
2 changes: 1 addition & 1 deletion doc/user-guides/authenticated-rl-for-app-developers.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ spec:
prefix: APIKEY
response:
success:
dynamicMetadata:
filters:
"identity":
json:
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ spec:
selector: auth.identity.sub
response:
success:
dynamicMetadata:
filters:
"identity":
json:
properties:
Expand Down
2 changes: 1 addition & 1 deletion doc/user-guides/secure-protect-connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ spec:
prefix: APIKEY
response:
success:
dynamicMetadata:
filters:
"identity":
json:
properties:
Expand Down
2 changes: 1 addition & 1 deletion examples/toystore/authpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
prefix: APIKEY
response:
success:
dynamicMetadata:
filters:
"ext_auth_data":
json:
properties:
Expand Down

0 comments on commit 0641157

Please sign in to comment.