Instead of allocating a volume for each individual Buildroot-based project, I think it will be easier to reuse the same one for all of them. It's not like we can really run more than one job at a time, anyway.
16 lines
308 B
YAML
16 lines
308 B
YAML
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: buildroot
|
|
namespace: jenkins-jobs
|
|
labels:
|
|
app.kubernetes.io/name: buildroot
|
|
app.kubernetes.io/component: jenkins
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 100Gi
|
|
storageClassName: synology-iscsi
|