From 068d1aafa03d38d5d28a671515da26e271eb610b Mon Sep 17 00:00:00 2001 From: luhahn Date: Wed, 23 Sep 2020 21:15:16 +0000 Subject: [PATCH] Use recursive chmod for .ssh directory in init container (#26) Use recursive chmod for .ssh directory in init container Co-authored-by: Lucas Hahn Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/26 Reviewed-by: techknowlogick --- templates/gitea/statefulset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/gitea/statefulset.yaml b/templates/gitea/statefulset.yaml index 2413c44..f8c0518 100644 --- a/templates/gitea/statefulset.yaml +++ b/templates/gitea/statefulset.yaml @@ -26,7 +26,7 @@ spec: - name: SCRIPT value: &script |- mkdir -p /data/git/.ssh - chmod 700 /data/git/.ssh + chmod -R 700 /data/git/.ssh mkdir -p /data/gitea/conf cp /etc/gitea/conf/app.ini /data/gitea/conf/app.ini chmod a+rwx /data/gitea/conf/app.ini