From fba7ac98b7250c7929cc4b79e70bb2e153904311 Mon Sep 17 00:00:00 2001 From: Shahab Dogar Date: Sun, 12 Oct 2025 07:46:26 +0500 Subject: [PATCH] fix: Gitea | use ephemeral storage for package chunk uploads This helps speed up uploads since we use ephemeral storage for the chunks rather than eating the overhead of encrypted persistant storage for chunks, followed by copying over chunks to the final package. --- helm/values/gitea.values.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/helm/values/gitea.values.yaml b/helm/values/gitea.values.yaml index 9a121a1..0d248be 100644 --- a/helm/values/gitea.values.yaml +++ b/helm/values/gitea.values.yaml @@ -89,6 +89,10 @@ gitea: secretKeyRef: name: smtp-token key: gitea-password + - name: GITEA__PACKAGES__CHUNKED_UPLOAD_PATH + value: "/tmp/gitea-uploads" + - name: GITEA__PACKAGES__CHUNKED_UPLOAD_CONCURRENCY + value: "4" persistence: enabled: true size: 50Gi @@ -131,6 +135,8 @@ extraVolumes: path: cert.pem - key: tls.key path: key.pem + - name: gitea-temp + emptyDir: {} extraInitVolumeMounts: - name: ssl-bundle mountPath: /opt/gitea/.postgresql @@ -142,6 +148,8 @@ extraContainerVolumeMounts: - name: tls-bundle mountPath: /opt/gitea/tls readOnly: true + - name: gitea-temp + mountPath: /tmp/gitea-uploads postgresql-ha: enabled: false valkey-cluster: