fix(notes): Support templating of Ingress annotations bodyTimeout and bodySize to allow application defined upload limits to be reached

This commit is contained in:
rweber
2025-06-11 20:24:32 +02:00
committed by Thorsten Roßner
parent 9f4e3c86c7
commit 69faf77d15
2 changed files with 9 additions and 0 deletions

View File

@@ -17,6 +17,13 @@ ingress:
tls: tls:
enabled: "{{ .Values.ingress.tls.enabled }}" enabled: "{{ .Values.ingress.tls.enabled }}"
secretName: {{ .Values.ingress.tls.secretName | quote }} secretName: {{ .Values.ingress.tls.secretName | quote }}
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: "{{ .Values.ingress.parameters.bodySize.notes }}"
nginx.ingress.kubernetes.io/proxy-read-timeout: "{{ .Values.ingress.parameters.bodyTimeout.notes }}"
nginx.ingress.kubernetes.io/proxy-send-timeout: "{{ .Values.ingress.parameters.bodyTimeout.notes }}"
nginx.org/client-max-body-size: "{{ .Values.ingress.parameters.bodySize.notes }}"
nginx.org/proxy-read-timeout: "{{ .Values.ingress.parameters.bodyTimeout.notes }}s"
nginx.org/proxy-send-timeout: "{{ .Values.ingress.parameters.bodyTimeout.notes }}s"
ingressCollaborationWS: ingressCollaborationWS:
enabled: {{ .Values.ingress.enabled }} enabled: {{ .Values.ingress.enabled }}

View File

@@ -12,6 +12,7 @@ ingress:
collabora: "100M" collabora: "100M"
element: "100M" element: "100M"
nextcloud: "100M" nextcloud: "100M"
notes: "100M"
openproject: "100M" openproject: "100M"
oxAppSuite: "100M" oxAppSuite: "100M"
xwiki: "100M" xwiki: "100M"
@@ -19,6 +20,7 @@ ingress:
collabora: 600 collabora: 600
element: 60 element: 60
nextcloud: 600 nextcloud: 600
notes: 60
openproject: 60 openproject: 60
oxAppSuite: 60 oxAppSuite: 60
xwiki: 60 xwiki: 60