theshire/kubernetes/templates/volsync/claim.yaml

16 lines
371 B
YAML
Raw Normal View History

2024-01-17 15:18:22 -06:00
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: "${APP}"
spec:
accessModes: ["${VOLSYNC_ACCESSMODES:-ReadWriteOnce}"]
2024-07-08 18:11:39 -05:00
dataSourceRef:
2024-01-17 15:18:22 -06:00
kind: ReplicationDestination
apiGroup: volsync.backube
name: "${APP}-dst"
resources:
requests:
storage: "${VOLSYNC_CAPACITY}"
2024-07-09 11:40:57 -05:00
storageClassName: "${VOLSYNC_STORAGECLASS:-zfs-generic-nfs-csi}"