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

Make max upload size configurable via zammadConfig.nginx.clientMaxBodySize #294

Merged
merged 1 commit into from
Sep 13, 2024
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
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