blob: 3a23af786991c084515d94523ca84c52f9456097 [file] [log] [blame]
Alanny Lopez634ce362017-06-23 12:57:05 -05001apiVersion: v1
2kind: Pod
3metadata:
4 name: ${podname}
5 namespace: ${namespace}
6spec:
7 nodeSelector:
Alanny Lopezeba5ad42017-08-18 14:48:37 -05008 beta.kubernetes.io/arch: ${ARCH}
Alanny Lopez634ce362017-06-23 12:57:05 -05009 volumes:
Alanny Lopeza6b7d4b2017-10-19 09:58:25 -050010 - name: workspace
Alanny Lopez634ce362017-06-23 12:57:05 -050011 persistentVolumeClaim:
Alanny Lopeza6b7d4b2017-10-19 09:58:25 -050012 claimName: ${wclaim}
Alanny Lopez634ce362017-06-23 12:57:05 -050013 - name: qemudir
14 persistentVolumeClaim:
15 claimName: ${qclaim}
Alanny Lopezeba5ad42017-08-18 14:48:37 -050016 restartPolicy: Never
Alanny Lopez634ce362017-06-23 12:57:05 -050017 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:
Alanny Lopeza6b7d4b2017-10-19 09:58:25 -050029 - name: workspace
30 mountPath: ${HOME}/workspace
Alanny Lopez634ce362017-06-23 12:57:05 -050031 - name: qemudir
32 mountPath: ${qemudir}
33 imagePullSecrets:
34 - name: ${imgplsec}