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: |
Alanny Lopez | eba5ad4 | 2017-08-18 14:48:37 -0500 | [diff] [blame] | 8 | beta.kubernetes.io/arch: ${ARCH} |
Alanny Lopez | 634ce36 | 2017-06-23 12:57:05 -0500 | [diff] [blame] | 9 | volumes: |
Alanny Lopez | a6b7d4b | 2017-10-19 09:58:25 -0500 | [diff] [blame] | 10 | - name: workspace |
Alanny Lopez | 634ce36 | 2017-06-23 12:57:05 -0500 | [diff] [blame] | 11 | persistentVolumeClaim: |
Alanny Lopez | a6b7d4b | 2017-10-19 09:58:25 -0500 | [diff] [blame] | 12 | claimName: ${wclaim} |
Alanny Lopez | 634ce36 | 2017-06-23 12:57:05 -0500 | [diff] [blame] | 13 | - name: qemudir |
| 14 | persistentVolumeClaim: |
| 15 | claimName: ${qclaim} |
Alanny Lopez | eba5ad4 | 2017-08-18 14:48:37 -0500 | [diff] [blame] | 16 | restartPolicy: Never |
Alanny Lopez | 634ce36 | 2017-06-23 12:57:05 -0500 | [diff] [blame] | 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: |
Alanny Lopez | a6b7d4b | 2017-10-19 09:58:25 -0500 | [diff] [blame] | 29 | - name: workspace |
| 30 | mountPath: ${HOME}/workspace |
Alanny Lopez | 634ce36 | 2017-06-23 12:57:05 -0500 | [diff] [blame] | 31 | - name: qemudir |
| 32 | mountPath: ${qemudir} |
| 33 | imagePullSecrets: |
| 34 | - name: ${imgplsec} |