https://prefect.io logo
Title
d

Daniel Sloan

04/27/2023, 7:07 PM
Need to be able to clone git over ssh in the pull step of a project, how do I go about setting that up? cant seem to find any docs detailing it
a

alex

04/27/2023, 7:29 PM
Hey @Daniel Sloan, as long as you have an accepted SSH key set up in the environment that you want to clone into you can set the
repository
key on your
git_clone_project
step and it should be able to clone the project successfully.
d

Daniel Sloan

04/27/2023, 9:47 PM
Is there a generally accepted way of doing this on a kubernetes worker?
My requirement is to avoid baking a key into the container image. Is there a way to attach a k8s secret to the worker pod