blob: 58491ec3e3bf648fa00f2d41d5ede3bc7f02701c [file] [log] [blame]
apiVersion: v1
kind: Pod
metadata:
name: ${podname}
namespace: ${namespace}
spec:
nodeSelector:
beta.kubernetes.io/arch: ${ARCH}
volumes:
- name: home
persistentVolumeClaim:
claimName: ${hclaim}
- name: qemudir
persistentVolumeClaim:
claimName: ${qclaim}
restartPolicy: Never
hostNetwork: True
containers:
- image: ${imgname}
name: builder
command: [\"${WORKSPACE}/build.sh\"]
workingDir: ${HOME}
env:
- name: WORKSPACE
value: ${WORKSPACE}
- name: qemudir
value: ${qemudir}
volumeMounts:
- name: home
mountPath: ${HOME}
- name: qemudir
mountPath: ${qemudir}
imagePullSecrets:
- name: ${imgplsec}