mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 22:40:12 +01:00
feat(e2e-test): Add e2e-tests for zfs-localpv (#298)
Signed-off-by: w3aman <aman.gupta@mayadata.io>
This commit is contained in:
parent
53f872fcf1
commit
4e73638b5a
137 changed files with 8745 additions and 0 deletions
16
e2e-tests/experiments/functional/zfspv-clone/clone_pvc.j2
Normal file
16
e2e-tests/experiments/functional/zfspv-clone/clone_pvc.j2
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: {{ clone_pvc_name }}
|
||||
namespace: {{ app_ns }}
|
||||
spec:
|
||||
storageClassName: {{ storage_class }}
|
||||
dataSource:
|
||||
name: {{ snapshot_name }}
|
||||
kind: VolumeSnapshot
|
||||
apiGroup: snapshot.storage.k8s.io
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ clone_pvc_size }} ## clone PVC size should match the size of the snapshot
|
||||
Loading…
Add table
Add a link
Reference in a new issue