Use recursive chmod for .ssh directory in init container (#26)
All checks were successful
continuous-integration/drone/push Build is passing

Use recursive chmod for .ssh directory in init container Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de> Reviewed-on: gitea/helm-chart#26 Reviewed-by: techknowlogick <techknowlogick@gitea.io>
This commit was merged in pull request #26.
This commit is contained in:
luhahn
2020-09-23 21:15:16 +00:00
committed by techknowlogick
parent 2082d67ec8
commit 068d1aafa0

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