Fix ssh permission denied(publickey) at reinstalling the chart without deleting pvc (#25)
Fix ssh permission denied(publickey) at reinstalling the chart without deleting pvc Co-authored-by: Lucas Hahn <[email protected]> Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/25 Reviewed-by: techknowlogick <[email protected]> Reviewed-by: Lunny Xiao <[email protected]>
This commit is contained in:
committed by
Lunny Xiao
co-authored by
Lucas Hahn
parent
942312a973
commit
1a1a001656
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user