Add glusterfs volumes to jenkins slaves on KDT
Change-Id: Ib764a222c6b56f43d4cb170bce439234a7535b58
Related-prod: PROD-28552 (PROD:28552)
diff --git a/kubernetes/control/services/drivetrain/jenkins_slave_multi.yml b/kubernetes/control/services/drivetrain/jenkins_slave_multi.yml
index f0db6cf..7840d31 100644
--- a/kubernetes/control/services/drivetrain/jenkins_slave_multi.yml
+++ b/kubernetes/control/services/drivetrain/jenkins_slave_multi.yml
@@ -34,6 +34,16 @@
value: ${_param:kdt_http_proxy}
- name: no_proxy
value: ${_param:kdt_no_proxy}
+ volumes:
+ - name: jenkins-slave02
+ mount: /var/lib/jenkins
+ read_only: false
+ volume:
+ jenkins-slave02:
+ type: glusterfs
+ endpoints: glusterfs
+ path: jenkins_slave02
+ read_only: false
jenkins_slave03:
create: true
service: slave03
@@ -64,3 +74,13 @@
value: ${_param:kdt_http_proxy}
- name: no_proxy
value: ${_param:kdt_no_proxy}
+ volumes:
+ - name: jenkins-slave03
+ mount: /var/lib/jenkins
+ read_only: false
+ volume:
+ jenkins-slave03:
+ type: glusterfs
+ endpoints: glusterfs
+ path: jenkins_slave03
+ read_only: false
diff --git a/kubernetes/control/services/drivetrain/jenkins_slave_single.yml b/kubernetes/control/services/drivetrain/jenkins_slave_single.yml
index 3659689..4019c1f 100644
--- a/kubernetes/control/services/drivetrain/jenkins_slave_single.yml
+++ b/kubernetes/control/services/drivetrain/jenkins_slave_single.yml
@@ -35,3 +35,13 @@
value: ${_param:kdt_http_proxy}
- name: no_proxy
value: ${_param:kdt_no_proxy}
+ volumes:
+ - name: jenkins-slave01
+ mount: /var/lib/jenkins
+ read_only: false
+ volume:
+ jenkins-slave01:
+ type: glusterfs
+ endpoints: glusterfs
+ path: jenkins_slave01
+ read_only: false