blob: 70ad756b81540772d9eec4a597dc6f1a25aa944e [file] [log] [blame]
Alanny Lopez634ce362017-06-23 12:57:05 -05001apiVersion: v1
2kind: Pod
3metadata:
4 name: ${podname}
5 namespace: ${namespace}
6spec:
7 nodeSelector:
8 worker: \"true\"
9 arch: ${ARCH}
10 volumes:
11 - name: home
12 persistentVolumeClaim:
13 claimName: ${hclaim}
14 - name: qemudir
15 persistentVolumeClaim:
16 claimName: ${qclaim}
17 hostNetwork: True
18 containers:
19 - image: ${imgname}
20 name: builder
21 command: [\"${WORKSPACE}/build.sh\"]
22 workingDir: ${HOME}
23 env:
24 - name: WORKSPACE
25 value: ${WORKSPACE}
26 - name: qemudir
27 value: ${qemudir}
28 volumeMounts:
29 - name: home
30 mountPath: ${HOME}
31 - name: qemudir
32 mountPath: ${qemudir}
33 imagePullSecrets:
34 - name: ${imgplsec}