Fix ssh permission denied(publickey) at reinstalling the chart without deleting pvc #25

Merged
luhahn merged 4 commits from master into master 2020-09-23 03:22:22 +00:00
luhahn commented 2020-09-21 15:54:42 +00:00 (Migrated from gitea.com)

Found a bug / strange behavior with longhorn storage. When gitea is reinstalled without deleting the PVC then kubernetes remounts the volume but uses default permissions for /data/git/.ssh which causes all ssh clone attempts to fail with: Permission denied (publickey)

The init container now creates this folder and sets permissions 700

Found a bug / strange behavior with longhorn storage. When gitea is reinstalled without deleting the PVC then kubernetes remounts the volume but uses default permissions for /data/git/.ssh which causes all ssh clone attempts to fail with: Permission denied (publickey) The init container now creates this folder and sets permissions 700
techknowlogick (Migrated from gitea.com) reviewed 2020-09-21 22:30:43 +00:00
techknowlogick (Migrated from gitea.com) approved these changes 2020-09-23 02:11:12 +00:00
lunny (Migrated from gitea.com) approved these changes 2020-09-23 03:22:14 +00:00
Sign in to join this conversation.
No description provided.