Skip to content

Commit

Permalink
ingress updates (#749)
Browse files Browse the repository at this point in the history
  • Loading branch information
njaved authored Jan 23, 2025
1 parent ecb35f0 commit 2fe9311
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions charts/modernization-api/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ metadata:
nginx.ingress.kubernetes.io/configuration-snippet: |
more_set_headers "X-Frame-Options: Allow";
more_set_headers "Cross-Origin-Opener-Policy: same-origin";
more_set_headers "Cache-Control: max-age=1209600, immutable";
# nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
# nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
# nginx.ingress.kubernetes.io/proxy-connect-timeout: "3600"
Expand Down
1 change: 1 addition & 0 deletions charts/nbs6/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ ingress:
nginx.ingress.kubernetes.io/configuration-snippet: |
more_set_headers "X-Frame-Options: Allow";
more_set_headers "Cross-Origin-Opener-Policy: same-origin";
more_set_headers "Cache-Control: max-age=1209600, immutable";
tls:
- secretName: app-classic.example.com
hosts:
Expand Down
5 changes: 3 additions & 2 deletions charts/nginx-ingress/values-azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,18 @@ controller:
prometheus.io/port: "10254"
prometheus.io/path: /metrics
config:
proxy-body-size: "8m"
proxy-body-size: "12m"
compute-full-forwarded-for: "true"
use-forwarded-headers: "true"
allow-snippet-annotations: "true"
upstream-keepalive-timeout: 300
proxy-send-timeout: 300
proxy-read-timeout: 300
proxy-connect-timeout: 300
client-body-timeout: 300
client-header-timeout: 300
keep-alive: 300
#proxy-body-size: "0"
client-body-buffer-size: 10m
ingressClassResource:
enabled: true
default: false
Expand Down
4 changes: 2 additions & 2 deletions charts/nginx-ingress/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ controller:
podAnnotations:
linkerd.io/inject: enabled
config:
proxy-body-size: "8m"
proxy-body-size: "12m"
compute-full-forwarded-for: "true"
use-forwarded-headers: "true"
allow-snippet-annotations: "true"
Expand All @@ -14,8 +14,8 @@ controller:
client-body-timeout: 300
client-header-timeout: 300
keep-alive: 300
client-body-buffer-size: 10m
#whitelist-source-range: "" # VPC/VNET CIDR to be passed at run runtime to restrict traffic allowed to nodes to that of the VPC cidr
#proxy-body-size: "0"
ingressClassResource:
enabled: true
default: false
Expand Down

0 comments on commit 2fe9311

Please sign in to comment.