wizrds
CCoder.com
•Created by wizrds on 8/9/2024 in #help
Expose coder user SSH key to envbuilder
It turns out the documentation for envbuilder is incorrect, and mentions the env var being
ENVBUILDER_GIT_SSH_KEY_PATH
, when instead it expects ENVBUILDER_GIT_SSH_PRIVATE_KEY_PATH
. When changing to that variable it correctly finds the key, but still is unable to clone the repository:
I have verified I added the corresponding public key to my git provider's configuration for my user. What could be going wrong here?9 replies
CCoder.com
•Created by wizrds on 8/9/2024 in #help
Expose coder user SSH key to envbuilder
I've attempted to add the user's ssh private key to a k8s secret, then mount that file in the envbuilder deployment and set the env var
ENVBUILDER_GIT_SSH_KEY_PATH
. However I get some errors, and it apparently still doesn't find it:
What am I doing wrong?9 replies