the SSH key pair. Add the private key to the ~/.ssh of the user who is running both goserver and goagent. In this case the user is actually root. Then add the public key to the source control.
Do you think it's worthwhile to add this feature in your catalog (I noticed you are in the process of updating them)? What do you suggest would be the best solution? An extra field to your catalog for the SSH private key? Or somehow hook into the Rancher SSH certificate store?
This will apply to both the agent and server catalogs. I was about to try and make some changes, but thought I'd get in contact with you first to avoid duplicated work
Hi @rawmind0, thanks for this very nice docker setup of goserver/goagent.
I've been trying to use your gocd catalog to access private repos. Based on the forums:
https://groups.google.com/forum/#!topic/go-cd/a4J_AvLRU8o https://groups.google.com/forum/#!topic/go-cd/WvhorUgBWCI
The solution seems to be either:
goserver
andgoagent
. In this case the user is actuallyroot
. Then add the public key to the source control.Do you think it's worthwhile to add this feature in your catalog (I noticed you are in the process of updating them)? What do you suggest would be the best solution? An extra field to your catalog for the SSH private key? Or somehow hook into the Rancher SSH certificate store?
This will apply to both the agent and server catalogs. I was about to try and make some changes, but thought I'd get in contact with you first to avoid duplicated work