gocd / docker-gocd-agent

GoCD Agent Docker image
https://hub.docker.com/r/gocd/
47 stars 37 forks source link

Why do you enforce the GO_SERVER_URL to be https? #32

Closed Stono closed 7 years ago

Stono commented 7 years ago

Hi, I run gocd on kubernetes, and my agents connect to the gocd-master on a private network, via it's internal kubernetes name (gocd-master.ci.cluster.svc.local), thus the GO_SERVER_URL is http://, rather than https://

I don't want my goagents to have to go out to the internet to connect to the internet facing load balancer (where the ssl termination is) just to facilitate this requirement, it actually introduces security risks to do so.

Is there any way to bypass or turn off the requirement for https agent urls?

Thanks Karl

Stono commented 7 years ago

It also makes local compose setups for testing purposes extremely annoying as i now have to run an nginx reverse proxy with self signed certs just to spike an idea (https://github.com/gocd/docker-gocd-agent/issues/32)

Stono commented 7 years ago

See #32, you have to bypass the proxy