blob: eb3088db447116731a913fc9377fa0b86fc4232f [file] [log] [blame]
apiVersion: v1
kind: Pod
metadata:
name: ${pod_name}
namespace: ${namespace}
spec:
nodeSelector:
beta.kubernetes.io/arch: ${ARCH}
volumes:
- name: workspace
persistentVolumeClaim:
claimName: ${w_claim}
- name: qemu-dir
persistentVolumeClaim:
claimName: ${q_claim}
restartPolicy: Never
hostNetwork: True
containers:
- image: ${img_name}
name: builder
command: [\"${WORKSPACE}/build.sh\"]
workingDir: ${HOME}
env:
- name: WORKSPACE
value: ${WORKSPACE}
- name: qemu-dir
value: ${qemu_dir}
volumeMounts:
- name: workspace
mountPath: ${HOME}/workspace
- name: qemu-dir
mountPath: ${qemu_dir}
imagePullSecrets:
- name: ${img_pl_sec}