summaryrefslogtreecommitdiff
path: root/f3s/git-server
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-01-09 11:36:11 +0200
committerPaul Buetow <paul@buetow.org>2026-01-09 19:40:51 +0200
commit8a109670240c6604767dbf0a3abb933661cbf600 (patch)
tree4bd18128984eb11ae78e8d99c891594633c318db /f3s/git-server
parenta14bbf6775c1b62c996ea4b63d1fe1de3ddfc39f (diff)
Add SETGID and SETUID capabilities to cgit container
Nginx workers need these capabilities to drop privileges. Add SETGID and SETUID to allow nginx workers to start properly.
Diffstat (limited to 'f3s/git-server')
-rw-r--r--f3s/git-server/helm-chart/templates/deployment.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/f3s/git-server/helm-chart/templates/deployment.yaml b/f3s/git-server/helm-chart/templates/deployment.yaml
index 7381178..b876e0f 100644
--- a/f3s/git-server/helm-chart/templates/deployment.yaml
+++ b/f3s/git-server/helm-chart/templates/deployment.yaml
@@ -95,6 +95,7 @@ spec:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
+ add: ["SETGID", "SETUID"]
resources:
requests:
cpu: 50m