Coder.comC
Coder.comโ€ข14mo agoโ€ข
7 replies
Zhenzhong Xu

Coder created workspace (from K8s Devcontainer template) does not seem to inject proper SSH key

Hi i need some help setting up Coder on a K8s cluster. I've installed coder in K8s (via helm), configured role and role binding for PVC and Deployments.
Setting up a workspace from the k8S DevContainer template seems working fine except that ssh keys are not properly injected into the workspace, resulting in git clone failure. Below are the logs. Really appreciate any help!


envbuilder v1.1.0+a3a6a83 - Build development environments from repositories in a container
#1: ๐Ÿ“ฆ Cloning git@github.com:zhenzhongxu/personal-ai-infra.git to /workspaces/personal-ai-infra...
#1: ๐Ÿ”‘ Using SSH authentication!
#1: ๐Ÿ”‘ No SSH key found, falling back to agent!
#1: โŒ Failed to connect to SSH agent: error creating SSH agent: "SSH agent requested but SSH_AUTH_SOCK not-specified"
#1: Parsed Git URL as "ssh://git@github.com/zhenzhongxu/personal-ai-infra.git"
Failed to clone repository: clone "git@github.com:zhenzhongxu/personal-ai-infra.git": error creating SSH agent: "SSH agent requested but SSH_AUTH_SOCK not-specified"
GitHub
Provision remote development environments via Terraform - coder/coder
coder/examples/templates/kubernetes-devcontainer at main ยท coder/co...
Was this page helpful?