Alanny Lopez | 0e8ad99 | 2017-06-19 15:45:23 -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 | 0e8ad99 | 2017-06-19 15:45:23 -0500 | [diff] [blame] | 9 | volumes: |
Alanny Lopez | a6b7d4b | 2017-10-19 09:58:25 -0500 | [diff] [blame^] | 10 | - name: workspace |
Alanny Lopez | 0e8ad99 | 2017-06-19 15:45:23 -0500 | [diff] [blame] | 11 | persistentVolumeClaim: |
Alanny Lopez | a6b7d4b | 2017-10-19 09:58:25 -0500 | [diff] [blame^] | 12 | claimName: ${wclaim} |
Alanny Lopez | 0e8ad99 | 2017-06-19 15:45:23 -0500 | [diff] [blame] | 13 | - name: sscdir |
| 14 | persistentVolumeClaim: |
| 15 | claimName: ${sclaim} |
Alanny Lopez | 0e8ad99 | 2017-06-19 15:45:23 -0500 | [diff] [blame] | 16 | hostNetwork: True |
| 17 | containers: |
| 18 | - image: ${imgname} |
| 19 | name: builder |
| 20 | command: [\"${WORKSPACE}/build.sh\"] |
| 21 | workingDir: ${HOME} |
| 22 | env: |
| 23 | - name: WORKSPACE |
| 24 | value: ${WORKSPACE} |
Alanny Lopez | 723fea6 | 2017-09-12 11:22:17 -0500 | [diff] [blame] | 25 | - name: builddir |
| 26 | value: ${builddir} |
Alanny Lopez | 0e8ad99 | 2017-06-19 15:45:23 -0500 | [diff] [blame] | 27 | securityContext: |
| 28 | capabilities: |
| 29 | add: |
| 30 | - SYS_ADMIN |
| 31 | volumeMounts: |
Alanny Lopez | a6b7d4b | 2017-10-19 09:58:25 -0500 | [diff] [blame^] | 32 | - name: workspace |
| 33 | mountPath: ${HOME}/workspace |
Alanny Lopez | 0e8ad99 | 2017-06-19 15:45:23 -0500 | [diff] [blame] | 34 | - name: sscdir |
| 35 | mountPath: ${sscdir} |
Alanny Lopez | eba5ad4 | 2017-08-18 14:48:37 -0500 | [diff] [blame] | 36 | restartPolicy: Never |
Alanny Lopez | 0e8ad99 | 2017-06-19 15:45:23 -0500 | [diff] [blame] | 37 | imagePullSecrets: |
| 38 | - name: ${imgplsec} |