Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add nginx advanced settings #435

Merged
2 commits merged into from
Sep 4, 2023
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
13 changes: 13 additions & 0 deletions src/schemas/ApplicationAdvancedSettings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ properties:
type: integer
default: 60
description: Sets a timeout (in seconds) for reading a response from the proxied server
network.ingress.proxy_buffering:
type: string
default: "on"
description: Allows to enable or disable nginx `proxy-buffering`
network.ingress.proxy_request_buffering:
type: string
default: "on"
description: Allows to enable or disable nginx `proxy-request-buffering`
network.ingress.whitelist_source_range:
type: string
description: |
Expand Down Expand Up @@ -128,6 +136,11 @@ properties:
type: integer
description: Sets a timeout (in seconds) for transmitting a request to the grpc server
default: 60
network.ingress.extra_headers:
type: string
default: "{}"
description: Allows to define response headers
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding an example would be nice here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added same as doc

example: '{"X-Frame-Options":"DENY ","X-Content-Type-Options":"nosniff"}'
hpa.cpu.average_utilization_percent:
type: integer
description: Percentage value of cpu usage at which point pods should scale up.
Expand Down
13 changes: 13 additions & 0 deletions src/schemas/ContainerAdvancedSettings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ properties:
type: integer
default: 60
description: Sets a timeout (in seconds) for reading a response from the proxied server
network.ingress.proxy_buffering:
type: string
default: "on"
description: Allows to enable or disable nginx `proxy-buffering`
network.ingress.proxy_request_buffering:
type: string
default: "on"
description: Allows to enable or disable nginx `proxy-request-buffering`
network.ingress.grpc_send_timeout_seconds:
type: integer
description: Sets a timeout (in seconds) for transmitting a request to the grpc server
Expand All @@ -106,6 +114,11 @@ properties:
list of source ranges to deny access to ingress proxy.
This property can be used to blacklist source IP ranges for ingress proxy.
The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1
network.ingress.extra_headers:
type: string
default: "{}"
description: Allows to define response headers
example: '{"X-Frame-Options":"DENY ","X-Content-Type-Options":"nosniff"}'
network.ingress.basic_auth_env_var:
type: string
default: ""
Expand Down
Loading