Skip to content

Commit

Permalink
Make max upload size configurable via zammadConfig.nginx.clientMaxBod…
Browse files Browse the repository at this point in the history
…ySize
  • Loading branch information
mgruner committed Sep 11, 2024
1 parent 48d187f commit 18b47da
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions zammad/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: zammad
version: 12.3.6
appVersion: 6.3.1-144
version: 12.4.0
appVersion: 6.3.1-156
description: Zammad is a web based open source helpdesk/customer support system with many features to manage customer communication via several channels like telephone, facebook, twitter, chat and e-mails.
home: https://zammad.org
icon: https://raw.githubusercontent.com/zammad/zammad-documentation/main/images/zammad_logo_600x520.png
Expand Down
1 change: 1 addition & 0 deletions zammad/ci/full-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ zammadConfig:
mountPath: /opt/zammad/custom_mount
readOnly: true
nginx:
clientMaxBodySize: 111M
podLabels:
my-nginx-pod-label: my-nginx-pod-label-value
podAnnotations:
Expand Down
2 changes: 1 addition & 1 deletion zammad/templates/configmap-nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ data:
access_log /dev/stdout;
error_log /dev/stderr;
client_max_body_size 50M;
client_max_body_size {{ .Values.zammadConfig.nginx.clientMaxBodySize }};
{{- /* Trusted proxies */}}
{{ if .Values.zammadConfig.nginx.trustedProxies }}
Expand Down
2 changes: 2 additions & 0 deletions zammad/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ zammadConfig:
# - 'HeaderName "Header Value"'
websocketExtraHeaders: []
# - 'HeaderName "Header Value"'
# Maximum upload size
clientMaxBodySize: 50M
knowledgeBaseUrl: ""
livenessProbe:
tcpSocket:
Expand Down

0 comments on commit 18b47da

Please sign in to comment.