commit 8556f4e459788ec973f63e20614395e8c2a9c615
parent c05ac4c4894b34fc9569625518a76072e5b25e6d
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date: Sun, 7 Jul 2024 12:23:19 +0200
feat(jenkins-agent): add insecure-registry
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hcl/default/jenkins/templates/jenkins.yaml.tmpl b/hcl/default/jenkins/templates/jenkins.yaml.tmpl
@@ -86,7 +86,8 @@ jenkins:
"JENKINS_AGENT_NAME": "%WORKER_NAME%",
"JENKINS_SECRET": "%WORKER_SECRET%",
"JENKINS_TUNNEL": "{{ env "NOMAD_ADDR_jnlp" }}",
- "DOCKER_HOST": "unix:///home/jenkins/agent/podman.sock"
+ "DOCKER_HOST": "unix:///home/jenkins/agent/podman.sock",
+ "DOCKER_OPTS": "--insecure-registry=\"haproxy.lan:5000\""
},
"Resources": {
"CPU": 500,