Skip to content

Commit

Permalink
Merge pull request #182 from bjwswang/main
Browse files Browse the repository at this point in the history
fix: able to configure proxy body size in bff ingress
  • Loading branch information
bjwswang authored Mar 15, 2024
2 parents 2a4c682 + 61b9f0f commit 07c7a5f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/u4a-component/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.9
version: 0.2.10

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/u4a-component/templates/bff-server/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
nginx.ingress.kubernetes.io/enable-access-log: "false"
nginx.ingress.kubernetes.io/enable-rewrite-log: "false"
nginx.ingress.kubernetes.io/load-balance: round_robin
nginx.ingress.kubernetes.io/proxy-body-size: ""
nginx.ingress.kubernetes.io/proxy-body-size: {{ .Values.bffServer.ingress.proxyBodySize }}
nginx.ingress.kubernetes.io/proxy-connect-timeout: "60"
nginx.ingress.kubernetes.io/server-alias: ""
nginx.ingress.kubernetes.io/upstream-vhost: $host
Expand Down
2 changes: 2 additions & 0 deletions charts/u4a-component/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ bffServer:
enabled: true
image: kubebb/bff-server:v0.2.0-20231204
sessionImage: redis:5.0.1-alpine3.8
ingress:
proxyBodySize: 100m
# Configurations abount session
session:
cookie:
Expand Down

0 comments on commit 07c7a5f

Please sign in to comment.