File tree Expand file tree Collapse file tree
internal/gatewayapi/testdata
test/helm/gateway-crds-helm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ envoyExtensionPolicies:
66 namespace : default
77 spec :
88 lua :
9- - type : ValueRef
10- filterContext :
9+ - filterContext :
1110 token_header : x-session-token
11+ type : ValueRef
1212 valueRef :
1313 group : v1
1414 kind : ConfigMap
@@ -581,9 +581,9 @@ xdsIR:
581581 function envoy_on_response(response_handle)
582582 response_handle:logWarn('Goodbye.')
583583 end
584- FilterContext:
585- token_header: x-session-token
586584 Name: envoyextensionpolicy/default/policy-for-http-route/lua/0
585+ filterContext:
586+ token_header: x-session-token
587587 hostname : www.example.com
588588 isHTTP2 : false
589589 metadata :
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ envoyExtensionPolicies:
77 namespace : default
88 spec :
99 lua :
10- - inline : function envoy_on_response(response_handle) response_handle:logWarn('Goodbye.')
11- end
12- filterContext :
10+ - filterContext :
1311 mode : strict
1412 token_header : x-api-key
13+ inline : function envoy_on_response(response_handle) response_handle:logWarn('Goodbye.')
14+ end
1515 type : Inline
1616 targetRef :
1717 group : gateway.networking.k8s.io
@@ -281,10 +281,10 @@ xdsIR:
281281 luas :
282282 - Code : function envoy_on_response(response_handle) response_handle:logWarn('Goodbye.')
283283 end
284- FilterContext :
284+ Name : envoyextensionpolicy/default/policy-for-http-route/lua/0
285+ filterContext :
285286 mode : strict
286287 token_header : x-api-key
287- Name : envoyextensionpolicy/default/policy-for-http-route/lua/0
288288 hostname : www.example.com
289289 isHTTP2 : false
290290 metadata :
Original file line number Diff line number Diff line change @@ -29588,6 +29588,14 @@ spec:
2958829588 Lua defines a Lua extension
2958929589 Only one of Inline or ValueRef must be set
2959029590 properties:
29591+ filterContext:
29592+ additionalProperties:
29593+ type: string
29594+ description: |-
29595+ FilterContext is a set of key/value pairs that are made available to the Lua script
29596+ via request_handle:filterContext(). This allows a shared script to be
29597+ parameterized differently per EnvoyExtensionPolicy/route.
29598+ type: object
2959129599 inline:
2959229600 description: Inline contains the source code as an inline string.
2959329601 type: string
Original file line number Diff line number Diff line change @@ -7561,6 +7561,14 @@ spec:
75617561 Lua defines a Lua extension
75627562 Only one of Inline or ValueRef must be set
75637563 properties:
7564+ filterContext:
7565+ additionalProperties:
7566+ type: string
7567+ description: |-
7568+ FilterContext is a set of key/value pairs that are made available to the Lua script
7569+ via request_handle:filterContext(). This allows a shared script to be
7570+ parameterized differently per EnvoyExtensionPolicy/route.
7571+ type: object
75647572 inline:
75657573 description: Inline contains the source code as an inline string.
75667574 type: string
Original file line number Diff line number Diff line change @@ -7561,6 +7561,14 @@ spec:
75617561 Lua defines a Lua extension
75627562 Only one of Inline or ValueRef must be set
75637563 properties:
7564+ filterContext:
7565+ additionalProperties:
7566+ type: string
7567+ description: |-
7568+ FilterContext is a set of key/value pairs that are made available to the Lua script
7569+ via request_handle:filterContext(). This allows a shared script to be
7570+ parameterized differently per EnvoyExtensionPolicy/route.
7571+ type: object
75647572 inline:
75657573 description: Inline contains the source code as an inline string.
75667574 type: string
You can’t perform that action at this time.
0 commit comments