concourse / concourse-chart

Helm chart to install Concourse
Apache License 2.0
143 stars 174 forks source link

Concourse on EKS can't use ssh-keys #265

Closed JulesVerne22 closed 2 years ago

JulesVerne22 commented 2 years ago

I have concourse running an EKS cluster which is externally accessible. However, the git resource was failing where it wasn't on my docker-compose version of concourse. For some reason it can't clone the repo and returns the error "fatal: Could not read from remote repository." The weird thing is, if I edit the pipeline and tell it to use http and give it a username and password, it works just fine. My ansible resource also seems to fail with it's ssh key, so I have come to the conclusion that the worker is not properly using ssh-keys when they are given.

JulesVerne22 commented 2 years ago

It appears that using public instead of private subnets has allowed it to connect although it is possible that it was because I 1. restarted the cluster and 2. added the ssh.allow=true attribute to my nodegroup.