Fix ssh permission denied(publickey) at reinstalling the chart without deleting pvc (#25)
All checks were successful
continuous-integration/drone/push Build is passing

Fix ssh permission denied(publickey) at reinstalling the chart without deleting pvc Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de> Reviewed-on: gitea/helm-chart#25 Reviewed-by: techknowlogick <techknowlogick@gitea.io> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit was merged in pull request #25.
This commit is contained in:
luhahn
2020-09-23 03:22:20 +00:00
committed by Lunny Xiao
parent 942312a973
commit 1a1a001656

View File

@@ -25,6 +25,8 @@ spec:
env:
- name: SCRIPT
value: &script |-
mkdir -p /data/git/.ssh
chmod 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