summaryrefslogtreecommitdiff
path: root/f3s/git-server/helm-chart/templates
diff options
context:
space:
mode:
Diffstat (limited to 'f3s/git-server/helm-chart/templates')
-rw-r--r--f3s/git-server/helm-chart/templates/deployment.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/f3s/git-server/helm-chart/templates/deployment.yaml b/f3s/git-server/helm-chart/templates/deployment.yaml
index 9b643ee..10b750b 100644
--- a/f3s/git-server/helm-chart/templates/deployment.yaml
+++ b/f3s/git-server/helm-chart/templates/deployment.yaml
@@ -101,6 +101,9 @@ spec:
command: ["/bin/sh", "-c"]
args:
- |
+ # Add git safe.directory exception for repository ownership
+ git config --global --add safe.directory /repos/repos/conf.git
+
# Configure git repository for HTTP access
git config --file /repos/repos/conf.git/config http.receivepack true
git config --file /repos/repos/conf.git/config http.uploadpack true