theshire/kubernetes/templates/volsync/claim.yaml

16 lines
362 B
YAML
Raw Permalink 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}"
storageClassName: "${VOLSYNC_STORAGECLASS:-ceph-block}"