feat(outline): added max upload size for files
This commit is contained in:
4 files changed
+20
-4
No files matched your search
+1
-1
@@ -4,7 +4,7 @@ description: A Helm chart to deploy Outline on Kubernetes
|
|||||||
|
|
||||||
type: application
|
type: application
|
||||||
|
|
||||||
version: 1.2.0+up1.6.1
|
version: 1.3.0+up1.6.1
|
||||||
appVersion: "1.6.1"
|
appVersion: "1.6.1"
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|||||||
@@ -4,6 +4,8 @@ metadata:
|
|||||||
name: {{ .Release.Name }}-{{ .Chart.Name }}-ingress
|
name: {{ .Release.Name }}-{{ .Chart.Name }}-ingress
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: {{ required "A Cluster-Issuer must be provided" .Values.ingress.clusterIssuer}}
|
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:
|
spec:
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
rules:
|
rules:
|
||||||
|
|||||||
@@ -72,11 +72,24 @@ spec:
|
|||||||
key: client-secret
|
key: client-secret
|
||||||
- name: OIDC_DISPLAY_NAME
|
- name: OIDC_DISPLAY_NAME
|
||||||
value: "{{ .Values.outline.oidc.displayName }}"
|
value: "{{ .Values.outline.oidc.displayName }}"
|
||||||
|
- name: FILE_STORAGE_UPLOAD_MAX_SIZE
|
||||||
|
value: "{{ .Values.outline.maxUploadSize }}"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: http
|
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:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "{{ .Values.outline.resources.requests.memory }}"
|
memory: "{{ .Values.outline.resources.requests.memory }}"
|
||||||
|
|||||||
+2
-1
@@ -3,6 +3,7 @@ secrets:
|
|||||||
redisSecretRef: null
|
redisSecretRef: null
|
||||||
dbSecretRef: null
|
dbSecretRef: null
|
||||||
outline:
|
outline:
|
||||||
|
maxUploadSize: 262144000
|
||||||
oidc:
|
oidc:
|
||||||
displayName: OIDC
|
displayName: OIDC
|
||||||
storage:
|
storage:
|
||||||
@@ -19,6 +20,6 @@ outline:
|
|||||||
ephemeralStorage: 100Mi
|
ephemeralStorage: 100Mi
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
maxUploadFileSize: 25m
|
||||||
clusterIssuer: letsencrypt
|
clusterIssuer: letsencrypt
|
||||||
domain: null
|
domain: null
|
||||||
Reference in new issue
Block a user