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: | ||||
8 | worker: \"true\" | ||||
9 | arch: ${ARCH} | ||||
10 | volumes: | ||||
11 | - name: home | ||||
12 | persistentVolumeClaim: | ||||
13 | claimName: ${hclaim} | ||||
14 | - name: sscdir | ||||
15 | persistentVolumeClaim: | ||||
16 | claimName: ${sclaim} | ||||
17 | - name: obmccache | ||||
18 | persistentVolumeClaim: | ||||
19 | claimName: ${oclaim} | ||||
20 | hostNetwork: True | ||||
21 | containers: | ||||
22 | - image: ${imgname} | ||||
23 | name: builder | ||||
24 | command: [\"${WORKSPACE}/build.sh\"] | ||||
25 | workingDir: ${HOME} | ||||
26 | env: | ||||
27 | - name: WORKSPACE | ||||
28 | value: ${WORKSPACE} | ||||
Alanny Lopez | 723fea6 | 2017-09-12 11:22:17 -0500 | [diff] [blame^] | 29 | - name: builddir |
30 | value: ${builddir} | ||||
Alanny Lopez | 0e8ad99 | 2017-06-19 15:45:23 -0500 | [diff] [blame] | 31 | securityContext: |
32 | capabilities: | ||||
33 | add: | ||||
34 | - SYS_ADMIN | ||||
35 | volumeMounts: | ||||
36 | - name: home | ||||
37 | mountPath: ${HOME} | ||||
38 | - name: sscdir | ||||
39 | mountPath: ${sscdir} | ||||
40 | - name: obmccache | ||||
41 | mountPath: ${obmcext} | ||||
42 | imagePullSecrets: | ||||
43 | - name: ${imgplsec} |