Skip to content

Commit 4bc5e02

Browse files
committed
chore: regenerate test output and helm CRD files
1 parent b3454b2 commit 4bc5e02

5 files changed

Lines changed: 33 additions & 9 deletions

File tree

internal/gatewayapi/testdata/envoyextensionpolicy-with-lua-configmap.out.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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:

internal/gatewayapi/testdata/envoyextensionpolicy-with-lua.out.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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:

test/helm/gateway-crds-helm/all.out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29449,6 +29449,14 @@ spec:
2944929449
Lua defines a Lua extension
2945029450
Only one of Inline or ValueRef must be set
2945129451
properties:
29452+
filterContext:
29453+
additionalProperties:
29454+
type: string
29455+
description: |-
29456+
FilterContext is a set of key/value pairs that are made available to the Lua script
29457+
via request_handle:filterContext(). This allows a shared script to be
29458+
parameterized differently per EnvoyExtensionPolicy/route.
29459+
type: object
2945229460
inline:
2945329461
description: Inline contains the source code as an inline string.
2945429462
type: string

test/helm/gateway-crds-helm/e2e.out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7422,6 +7422,14 @@ spec:
74227422
Lua defines a Lua extension
74237423
Only one of Inline or ValueRef must be set
74247424
properties:
7425+
filterContext:
7426+
additionalProperties:
7427+
type: string
7428+
description: |-
7429+
FilterContext is a set of key/value pairs that are made available to the Lua script
7430+
via request_handle:filterContext(). This allows a shared script to be
7431+
parameterized differently per EnvoyExtensionPolicy/route.
7432+
type: object
74257433
inline:
74267434
description: Inline contains the source code as an inline string.
74277435
type: string

test/helm/gateway-crds-helm/envoy-gateway-crds.out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7422,6 +7422,14 @@ spec:
74227422
Lua defines a Lua extension
74237423
Only one of Inline or ValueRef must be set
74247424
properties:
7425+
filterContext:
7426+
additionalProperties:
7427+
type: string
7428+
description: |-
7429+
FilterContext is a set of key/value pairs that are made available to the Lua script
7430+
via request_handle:filterContext(). This allows a shared script to be
7431+
parameterized differently per EnvoyExtensionPolicy/route.
7432+
type: object
74257433
inline:
74267434
description: Inline contains the source code as an inline string.
74277435
type: string

0 commit comments

Comments
 (0)