|
|
|
@ -8,24 +8,6 @@ apiVersion: "v1" |
|
|
|
|
kind: "Pod" |
|
|
|
|
spec: |
|
|
|
|
containers: |
|
|
|
|
- args: |
|
|
|
|
- "********" |
|
|
|
|
- "default-x5z2m" |
|
|
|
|
command: |
|
|
|
|
- "jenkins-agent" |
|
|
|
|
env: |
|
|
|
|
- name: "JENKINS_SECRET" |
|
|
|
|
value: "********" |
|
|
|
|
- name: "JENKINS_TUNNEL" |
|
|
|
|
value: "jenkins-agent.default.svc.cluster.local:50000" |
|
|
|
|
- name: "JENKINS_AGENT_NAME" |
|
|
|
|
value: "default-x5z2m" |
|
|
|
|
- name: "JENKINS_NAME" |
|
|
|
|
value: "default-x5z2m" |
|
|
|
|
- name: "JENKINS_AGENT_WORKDIR" |
|
|
|
|
value: "/home/jenkins/agent" |
|
|
|
|
- name: "JENKINS_URL" |
|
|
|
|
value: "http://jenkins.default.svc.cluster.local:8080/" |
|
|
|
|
image: "jenkins/jnlp-agent-docker" |
|
|
|
|
imagePullPolicy: "IfNotPresent" |
|
|
|
|
name: "jnlp" |
|
|
|
|