1
0
Fork 0

jenkins: Add PVC for Buildroot jobs

Buildroot jobs really benefit from having a persistent workspace volume
instead of an ephemeral one.  This way, only the packages, etc. that
have changed since the last build need to be built, instead of the whole
toolchain and operating system.
Dustin 2025-09-07 12:11:44 -05:00
parent 4c1992b3c9
commit f9dc0102aa
2 changed files with 15 additions and 0 deletions

View File

@ -10,6 +10,7 @@ resources:
- secrets.yaml - secrets.yaml
- iscsi.yaml - iscsi.yaml
- ssh-host-keys - ssh-host-keys
- workspace-volume.yaml
patches: patches:
- patch: | - patch: |

View File

@ -0,0 +1,14 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: buildroot
labels:
app.kubernetes.io/name: buildroot
app.kubernetes.io/component: jenkins
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Gi
storageClassName: synology-iscsi