k3s-cluster/kubernetes/common/templates/volsync/pvc.yaml

14 lines
367 B
YAML
Raw Normal View History

2024-10-13 22:05:49 +00:00
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: "${APP}"
spec:
accessModes: ["${VOLSYNC_ACCESSMODES:-ReadWriteOnce}"]
dataSourceRef:
kind: ReplicationDestination
apiGroup: volsync.backube
2024-10-13 23:26:00 +00:00
name: "${APP}-dst"
2024-10-13 22:05:49 +00:00
resources:
requests:
storage: "${VOLSYNC_CAPACITY}"
storageClassName: "${VOLSYNC_STORAGECLASS:-openebs-zfs-mainpool}"