From 7d71a61f877015cb9abbcd89f1adacc7ed2b7e3e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 9 Jan 2026 11:29:01 +0200 Subject: Disable cgit caching to avoid permission issues Instead of fighting permission issues with the cgit cache directory, disable caching entirely by: - Setting cache-size=0 in cgitrc - Removing cgit-cache emptyDir volume and mounts - Simplifying initContainer (only SSH keys setup needed) cgit will work without caching, just slightly slower for large repos. --- f3s/git-server/helm-chart/templates/configmap-cgit.yaml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'f3s/git-server/helm-chart/templates/configmap-cgit.yaml') diff --git a/f3s/git-server/helm-chart/templates/configmap-cgit.yaml b/f3s/git-server/helm-chart/templates/configmap-cgit.yaml index 840fbd4..08561f3 100644 --- a/f3s/git-server/helm-chart/templates/configmap-cgit.yaml +++ b/f3s/git-server/helm-chart/templates/configmap-cgit.yaml @@ -12,6 +12,9 @@ data: root-title=f3s Git Repository Browser root-desc=Browse git repositories in f3s cluster + # Disable caching to avoid permission issues + cache-size=0 + # Enable git-config for per-repo settings enable-git-config=1 -- cgit v1.2.3