diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-09 11:29:01 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-09 19:40:51 +0200 |
| commit | 7d71a61f877015cb9abbcd89f1adacc7ed2b7e3e (patch) | |
| tree | a15a2360d68ea13435003cbfbf647f8eb891a4b5 /f3s/git-server/helm-chart/templates/configmap-cgit.yaml | |
| parent | 85231f3f755c1eb0607862532d5a0968a818b8a0 (diff) | |
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.
Diffstat (limited to 'f3s/git-server/helm-chart/templates/configmap-cgit.yaml')
| -rw-r--r-- | f3s/git-server/helm-chart/templates/configmap-cgit.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
