Alanny Lopez | 634ce36 | 2017-06-23 12:57:05 -0500 | [diff] [blame] | 1 | apiVersion: v1 |
2 | kind: Pod | ||||
3 | metadata: | ||||
4 | name: ${podname} | ||||
5 | namespace: ${namespace} | ||||
6 | spec: | ||||
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} |