diff --git a/outline/Chart.yaml b/outline/Chart.yaml index fe05269..e2d1941 100644 --- a/outline/Chart.yaml +++ b/outline/Chart.yaml @@ -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: diff --git a/outline/templates/outline.ingress.yaml b/outline/templates/outline.ingress.yaml index b4c33cc..70eda21 100644 --- a/outline/templates/outline.ingress.yaml +++ b/outline/templates/outline.ingress.yaml @@ -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: diff --git a/outline/templates/outline.sfs.yaml b/outline/templates/outline.sfs.yaml index d2529d4..e91dc83 100644 --- a/outline/templates/outline.sfs.yaml +++ b/outline/templates/outline.sfs.yaml @@ -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 }}" diff --git a/outline/values.yaml b/outline/values.yaml index b01f347..0945d88 100644 --- a/outline/values.yaml +++ b/outline/values.yaml @@ -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 \ No newline at end of file