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!
GitHub
coder/examples/templates/kubernetes-devcontainer at main ยท coder/co...
Provision remote development environments via Terraform - coder/coder
7 Replies
<#1317422891666505739>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Curious question, is the Coder agent running in the workspace pod actually passes SSH keys as mentioned here. If so, what's the mechanism?
Attaching some logs below.
Secrets | Coder Docs
Use sensitive variables in your workspaces
Seems like the coder agent (inside workspace) returns error on
coder gitssh
command, is this a bug?
GitHub
envbuilder/docs/git-auth.md at main ยท coder/envbuilder
Build development environments from a Dockerfile on Docker, Kubernetes, and OpenShift. Enable developers to modify their development environment quickly. - coder/envbuilder
hey @Zhenzhong Xu, thanks for being so detailed!
will close this down as you've figured it out :-)
@Phorcys closed the thread.