18 lines
525 B
YAML
18 lines
525 B
YAML
# infrastructure/core/storageclass-ci-scratch.yaml
|
|
apiVersion: storage.k8s.io/v1
|
|
kind: StorageClass
|
|
metadata:
|
|
name: ci-scratch
|
|
provisioner: driver.longhorn.io
|
|
reclaimPolicy: Delete
|
|
volumeBindingMode: Immediate
|
|
allowVolumeExpansion: true
|
|
parameters:
|
|
diskSelector: astreae
|
|
numberOfReplicas: "1"
|
|
staleReplicaTimeout: "30"
|
|
fsType: ext4
|
|
dataLocality: disabled
|
|
# Reproducible build scratch only. Jenkins removes the PVC with its agent pod.
|
|
# A lost scratch replica requires a fresh build, never an application restore.
|