10BC0 Add request/response modifiers to VS and VSR · nginx/kubernetes-ingress@9bc383c · GitHub
[go: up one dir, main page]

Skip to content

Commit 9bc383c

Browse files
authored
Add request/response modifiers to VS and VSR
1 parent 44051f8 commit 9bc383c

File tree

16 files changed

+2436
-80
lines changed

16 files changed

+2436
-80
lines changed

deployments/common/vs-definition.yaml

Lines changed: 226 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,62 @@ spec:
7171
properties:
7272
pass:
7373
type: string
74+
proxy:
75+
description: ActionProxy defines a proxy in an Action.
76+
type: object
77+
properties:
78+
requestHeaders:
79+
description: ProxyRequestHeaders defines the request headers
80+
manipulation in an ActionProxy.
81+
type: object
82+
properties:
83+
pass:
84+
type: boolean
85+
set:
86+
type: array
87+
items:
88+
description: Header defines an HTTP Header.
89+
type: object
90+
properties:
91+
name:
92+
type: string
93+
value:
94+
type: string
95+
responseHeaders:
96+
description: ProxyRequestHeaders defines the response
97+
headers manipulation in an ActionProxy.
98+
type: object
99+
properties:
100+
add:
101+
type: array
102+
items:
103+
description: Header defines an HTTP Header with
104+
an optional Always field to use with the add_header
105+
NGINX directive.
106+
type: object
107+
properties:
108+
always:
109+
type: boolean
110+
name:
111+
type: string
112+
value:
113+
type: string
114+
hide:
115+
type: array
116+
items:
117+
type: string
118+
ignore:
119+
type: array
120+
items:
121+
type: string
122+
pass:
123+
type: array
124+
items:
125+
type: string
126+
rewritePath:
127+
type: string
128+
upstream:
129+
type: string
74130
redirect:
75131
description: ActionRedirect defines a redirect in an Action.
76132
type: object
@@ -140,6 +196,62 @@ spec:
140196
properties:
141197
pass:
142198
type: string
199+
proxy:
200+
description: ActionProxy defines a proxy in an Action.
201+
type: object
202+
properties:
203+
requestHeaders:
204+
description: ProxyRequestHeaders defines the request
205+
headers manipulation in an ActionProxy.
206+
type: object
207+
properties:
208+
pass:
209+
type: boolean
210+
set:
211+
type: array
212+
items:
213+
description: Header defines an HTTP Header.
214+
type: object
215+
properties:
216+
name:
217+
type: string
218+
value:
219+
type: string
220+
responseHeaders:
221+
description: ProxyRequestHeaders defines the response
222+
headers manipulation in an ActionProxy.
223+
type: object
224+
properties:
225+
add:
226+
type: array
227+
items:
228+
description: Header defines an HTTP Header
229+
with an optional Always field to use with
230+
the add_header NGINX directive.
231+
type: object
232+
properties:
233+
always:
234+
type: boolean
235+
name:
236+
type: string
237+
value:
238+
type: string
239+
hide:
240+
type: array
241+
items:
242+
type: string
243+
ignore:
244+
type: array
245+
items:
246+
type: string
247+
pass:
248+
type: array
249+
items:
250+
type: string
251+
rewritePath:
252+
type: string
253+
upstream:
254+
type: string
143255
redirect:
144256
description: ActionRedirect defines a redirect in an
145257
Action.
@@ -187,6 +299,64 @@ spec:
187299
properties:
188300
pass:
189301
type: string
302+
proxy:
303+
description: ActionProxy defines a proxy in an
304+
Action.
305+
type: object
306+
properties:
307+
requestHeaders:
308+
description: ProxyRequestHeaders defines the
309+
request headers manipulation in an ActionProxy.
310+
type: object
311+
properties:
312+
pass:
313+
type: boolean
314+
set:
315+
type: array
316+
items:
317+
description: Header defines an HTTP
318+
Header.
319+
type: object
320+
properties:
321+
name:
322+
type: string
323+
value:
324+
type: string
325+
responseHeaders:
326+
description: ProxyRequestHeaders defines the
327+
response headers manipulation in an ActionProxy.
328+
type: object
329+
properties:
330+
add:
331+
type: array
332+
items:
333+
description: Header defines an HTTP
334+
Header with an optional Always field
335+
to use with the add_header NGINX directive.
336+
type: object
337+
properties:
338+
always:
339+
type: boolean
340+
name:
341+
type: string
342+
value:
343+
type: string
344+
hide:
345+
type: array
346+
items:
347+
type: string
348+
ignore:
349+
type: array
350+
items:
351+
type: string
352+
pass:
353+
type: array
354+
items:
355+
type: string
356+
rewritePath:
357+
type: string
358+
upstream:
359+
type: string
190360
redirect:
191361
description: ActionRedirect defines a redirect
192362
in an Action.
@@ -225,6 +395,62 @@ spec:
225395
properties:
226396
pass:
227397
type: string
398+
proxy:
399+
description: ActionProxy defines a proxy in an Action.
400+
type: object
401+
properties:
402+
requestHeaders:
403+
description: ProxyRequestHeaders defines the request
404+
headers manipulation in an ActionProxy.
405+
type: object
406+
properties:
407+
pass:
408+
type: boolean
409+
set:
410+
type: array
411+
items:
412+
description: Header defines an HTTP Header.
413+
type: object
414+
properties:
415+
name:
416+
type: string
417+
value:
418+
type: string
419+
responseHeaders:
420+
description: ProxyRequestHeaders defines the response
421+
headers manipulation in an ActionProxy.
422+
type: object
423+
properties:
424+
add:
425+
type: array
426+
items:
427+
description: Header defines an HTTP Header
428+
with an optional Always field to use with
429+
the add_header NGINX directive.
430+
type: object
431+
properties:
432+
always:
433+
type: boolean
434+
name:
435+
type: string
436+
value:
437+
type: string
438+
hide:
439+
type: array
440+
items:
441+
type: string
442+
ignore:
443+
type: array
444+
items:
445+
type: string
446+
pass:
447+
type: array
448+
items:
449+
type: string
450+
rewritePath:
451+
type: string
452+
upstream:
453+
type: string
228454
redirect:
229455
description: ActionRedirect defines a redirect in an
230456
Action.

0 commit comments

Comments
 (0)
0