Use recursive chmod for .ssh directory in init container (#26) All checks were successful continuous-integration/drone/push Build is passing
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:
@@ -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 | ||||
| ||||
Reference in New Issue
Block a user