fix(paperclip): mount dev-agent SSH key at $HOME (/paperclip/.ssh) (HOMELAB-1104) #226
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "plane/HOMELAB-1104-paperclip-ssh-key-path"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
The Paperclip pod runs with
HOME=/paperclip, but the chart mounted the dev-agent SSH key at/home/node/.ssh/id_ed25519. When thepi_localSSH driver connects without an explicitprivateKey, ssh searches$HOME/.ssh/id_ed25519(=/paperclip/.ssh/id_ed25519) which didn't exist. The end-to-end chain works only when-iis passed explicitly.Fix
Change the
dev-agent-sshvolumeMountmountPathfrom/home/node/.ssh/id_ed25519→/paperclip/.ssh/id_ed25519. Thevolumes:secret block is unchanged.Result
SSH Environment records can be created with no
privateKeystored in the Paperclip DB — the key flows only via the K8s secret. This matches the GitOps approach.Risk
Low — volumeMount path change only. Triggers a pod restart on sync (Recreate strategy, brief downtime). No DB migration.
Verify
From the pod after deploy:
Should succeed without
-iflag.