From 2b01e6ece6cfa925c3f3023d7e2e5511f618f441 Mon Sep 17 00:00:00 2001 From: luhahn Date: Mon, 19 Apr 2021 20:30:02 +0800 Subject: [PATCH] Fix permissions on external mounts (#144) Co-authored-by: luhahn Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/144 Reviewed-by: Lunny Xiao Reviewed-by: Andrew Thornton Co-authored-by: luhahn Co-committed-by: luhahn --- templates/gitea/init.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/gitea/init.yaml b/templates/gitea/init.yaml index 926c1f2..4fe4d1f 100644 --- a/templates/gitea/init.yaml +++ b/templates/gitea/init.yaml @@ -16,6 +16,7 @@ stringData: # END: initPreScript {{- end }} + chown 1000:1000 /data mkdir -p /data/git/.ssh chmod -R 700 /data/git/.ssh mkdir -p /data/gitea/conf