10BC0 Add request/response modifiers to VS and VSR by Rulox · Pull Request #1006 · nginx/kubernetes-ingress · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
226 changes: 226 additions & 0 deletions deployments/common/vs-definition.yaml
< 7440 td id="diff-ef518f31c2be1b24e1ce5e3c7451cdac787c6d642d6c26d45572f9ded068e89aR237" data-line-number="237" class="blob-num blob-num-addition js-linkable-line-number js-blob-rnum"> < 5C9E /tr>
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,62 @@ spec:
properties:
pass:
type: string
proxy:
description: ActionProxy defines a proxy in an Action.
type: object
properties:
requestHeaders:
description: ProxyRequestHeaders defines the request headers
manipulation in an ActionProxy.
type: object
properties:
pass:
type: boolean
set:
type: array
items:
description: Header defines an HTTP Header.
type: object
properties:
name:
type: string
value:
type: string
responseHeaders:
description: ProxyRequestHeaders defines the response
headers manipulation in an ActionProxy.
type: object
properties:
add:
type: array
items:
description: Header defines an HTTP Header with
an optional Always field to use with the add_header
NGINX directive.
type: object
properties:
always:
type: boolean
name:
type: string
value:
type: string
hide:
type: array
items:
type: string
ignore:
type: array
items:
type: string
pass:
type: array
items:
type: string
rewritePath:
type: string
upstream:
type: string
redirect:
description: ActionRedirect defines a redirect in an Action.
type: object
Expand Down Expand Up @@ -140,6 +196,62 @@ spec:
properties:
pass:
type: string
proxy:
description: ActionProxy defines a proxy in an Action.
type: object
properties:
requestHeaders:
description: ProxyRequestHeaders defines the request
headers manipulation in an ActionProxy.
type: object
properties:
pass:
type: boolean
set:
type: array
items:
description: Header defines an HTTP Header.
type: object
properties:
name:
type: string
value:
type: string
responseHeaders:
description: ProxyRequestHeaders defines the response
headers manipulation in an ActionProxy.
type: object
properties:
add:
type: array
items:
description: Header defines an HTTP Header
with an optional Always field to use with
the add_header NGINX directive.
type: object
properties:
always:
type: boolean
name:
type: string
value:
type: string
hide:
type: array
items:
type: string
ignore:
type: array
items:
type: string
pass:
type: array
items:
type: string
rewritePath:
type: string
upstream:
type: string
redirect:
description: ActionRedirect defines a redirect in an
Action.
Expand Down Expand Up @@ -187,6 +299,64 @@ spec:
properties:
pass:
type: string
proxy:
description: ActionProxy defines a proxy in an
Action.
type: object
properties:
requestHeaders:
description: ProxyRequestHeaders defines the
request headers manipulation in an ActionProxy.
type: object
properties:
pass:
type: boolean
set:
type: array
items:
description: Header defines an HTTP
Header.
type: object
properties:
name:
type: string
value:
type: string
responseHeaders:
description: ProxyRequestHeaders defines the
response headers manipulation in an ActionProxy.
type: object
properties:
add:
type: array
items:
description: Header defines an HTTP
Header with an optional Always field
to use with the add_header NGINX directive.
type: object
properties:
always:
type: boolean
name:
type: string
value:
type: string
hide:
type: array
items:
type: string
ignore:
type: array
items:
type: string
pass:
type: array
items:
type: string
rewritePath:
type: string
upstream:
type: string
redirect:
description: ActionRedirect defines a redirect
in an Action.
Expand Down Expand Up @@ -225,6 +395,62 @@ spec:
properties:
pass:
type: string
proxy:
description: ActionProxy defines a proxy in an Action.
type: object
properties:
requestHeaders:
description: ProxyRequestHeaders defines the request
headers manipulation in an ActionProxy.
type: object
properties:
pass:
type: boolean
set:
type: array
items:
description: Header defines an HTTP Header.
type: object
properties:
name:
type: string
value:
type: string
responseHeaders:
description: ProxyRequestHeaders defines the response
headers manipulation in an ActionProxy.
type: object
properties:
add:
type: array
items:
description: Header defines an HTTP Header
with an optional Always field to use with
the add_header NGINX directive.
type: object
properties:
always:
type: boolean
name:
type: string
value:
type: string
hide:
type: array
items:
type: string
ignore:
type: array
items:
type: string
pass:
type: array
items:
type: string
rewritePath:
type: string
upstream:
type: string
redirect:
description: ActionRedirect defines a redirect in an
Action.
Expand Down
Loading
0