Use recursive chmod for .ssh directory in init container
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
2020-09-23 11:13:44 +02:00
parent 2082d67ec8
commit 0dad953721

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