blob: 135547c2501baf1885b08e818115df40e1555e33 [file] [log] [blame]
Alanny Lopez0e8ad992017-06-19 15:45:23 -05001apiVersion: v1
2kind: Pod
3metadata:
4 name: ${podname}
5 namespace: ${namespace}
6spec:
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 Lopez723fea62017-09-12 11:22:17 -050029 - name: builddir
30 value: ${builddir}
Alanny Lopez0e8ad992017-06-19 15:45:23 -050031 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}