diff --git a/jenkins/kustomization.yaml b/jenkins/kustomization.yaml index d2140f8..c64b00b 100644 --- a/jenkins/kustomization.yaml +++ b/jenkins/kustomization.yaml @@ -10,6 +10,7 @@ resources: - secrets.yaml - iscsi.yaml - ssh-host-keys +- workspace-volume.yaml patches: - patch: | diff --git a/jenkins/workspace-volume.yaml b/jenkins/workspace-volume.yaml new file mode 100644 index 0000000..2284215 --- /dev/null +++ b/jenkins/workspace-volume.yaml @@ -0,0 +1,15 @@ +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