feat(outline): added max upload size for files

This commit is contained in:
jklein committed 2026-04-08 01:13:50 +02:00
1 parent 5e25711447
commit 0a41b3f1bf
4 files changed
+20 -4

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ description: A Helm chart to deploy Outline on Kubernetes
type: application
version: 1.2.0+up1.6.1
version: 1.3.0+up1.6.1
appVersion: "1.6.1"
maintainers:
+2
View File
@@ -4,6 +4,8 @@ metadata:
name: {{ .Release.Name }}-{{ .Chart.Name }}-ingress
annotations:
cert-manager.io/cluster-issuer: {{ required "A Cluster-Issuer must be provided" .Values.ingress.clusterIssuer}}
nginx.ingress.kubernetes.io/proxy-body-size: {{ .Values.ingress.maxUploadFileSize }}
nginx.org/client-max-body-size: {{ .Values.ingress.maxUploadFileSize }}
spec:
ingressClassName: nginx
rules:
+15 -2
View File
@@ -72,11 +72,24 @@ spec:
key: client-secret
- name: OIDC_DISPLAY_NAME
value: "{{ .Values.outline.oidc.displayName }}"
- name: FILE_STORAGE_UPLOAD_MAX_SIZE
value: "{{ .Values.outline.maxUploadSize }}"
ports:
- containerPort: 80
- containerPort: 8080
protocol: TCP
name: http
# TODO: Add liveness and readiness probes
livenessProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 30
periodSeconds: 10
readinessProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 10
periodSeconds: 10
resources:
requests:
memory: "{{ .Values.outline.resources.requests.memory }}"
+2 -1
View File
@@ -3,6 +3,7 @@ secrets:
redisSecretRef: null
dbSecretRef: null
outline:
maxUploadSize: 262144000
oidc:
displayName: OIDC
storage:
@@ -19,6 +20,6 @@ outline:
ephemeralStorage: 100Mi
ingress:
enabled: true
maxUploadFileSize: 25m
clusterIssuer: letsencrypt
domain: null