Use recursive chmod for .ssh directory in init container (#26)

Use recursive chmod for .ssh directory in init container

Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/26
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
luhahn 2020-09-23 21:15:16 +00:00 committed by techknowlogick
parent 2082d67ec8
commit 068d1aafa0
1 changed files with 1 additions and 1 deletions

View File

@ -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