| jenkins_slave_extra_opts: "" |
| jenkins_master_url: http://jenkins:8080/jenkins |
| apiVersion: extensions/v1beta1 |
| image: ${_param:docker_image_jenkins_slave} |
| image_pull_policy: IfNotPresent |
| value: ${_param:jenkins_master_url} |
| - name: JENKINS_AGENT_NAME |
| - name: JENKINS_UPDATE_SLAVE |
| value: ${_param:jenkins_client_user} |
| value: ${_param:jenkins_client_password} |
| value: "-Dhttp.proxyHost=${_param:kdt_http_proxy} -Dhttp.nonProxyHosts=|jenkins ${_param:jenkins_slave_extra_opts}" |
| value: ${_param:kdt_https_proxy} |
| value: ${_param:kdt_http_proxy} |
| value: ${_param:kdt_no_proxy} |
| mount: /srv/volumes/jenkins_slaves/slave01 |
| - name: docker-sock-volume |
| mount: /var/run/docker.sock |
| path: /var/run/docker.sock |