Mount host docker socket to Jenkins on kdt/kfg
To support running CVP tests in docker containers
Prod related: PROD-29638
Change-Id: I3703a8998c7e22a79765e72c67dea05e7c17a4d6
diff --git a/kubernetes/control/services/drivetrain/jenkins_slave_single.yml b/kubernetes/control/services/drivetrain/jenkins_slave_single.yml
index 4019c1f..5cdd32b 100644
--- a/kubernetes/control/services/drivetrain/jenkins_slave_single.yml
+++ b/kubernetes/control/services/drivetrain/jenkins_slave_single.yml
@@ -37,7 +37,10 @@
value: ${_param:kdt_no_proxy}
volumes:
- name: jenkins-slave01
- mount: /var/lib/jenkins
+ mount: /srv/volumes/jenkins_slaves/slave01
+ read_only: false
+ - name: docker-sock-volume
+ mount: /var/run/docker.sock
read_only: false
volume:
jenkins-slave01:
@@ -45,3 +48,6 @@
endpoints: glusterfs
path: jenkins_slave01
read_only: false
+ docker-sock-volume:
+ type: hostPath
+ path: /var/run/docker.sock