e2e: enable more k8s storage tests

enable more rbd specific storage
tests

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2024-09-27 14:32:11 +02:00 committed by mergify[bot]
parent 2d82cebfeb
commit 961c0a8d85
2 changed files with 15 additions and 4 deletions

View File

@ -6,7 +6,7 @@ StorageClass:
SnapshotClass:
# Must be set to enable snapshotting tests
FromName: true
FromExistingClassName: k8s-storage-e2e-rbd
DriverInfo:
# Internal name of the driver, display name in the test case and test objects
@ -51,7 +51,7 @@ DriverInfo:
volumeLimits: false
# Support for volume expansion in controllers
controllerExpansion: false
controllerExpansion: true
# Support for volume expansion in nodes
nodeExpansion: true
@ -66,7 +66,7 @@ DriverInfo:
topology: false
# Support populate data from snapshot
snapshotDataSource: false
snapshotDataSource: true
# Support populated data from PVC
pvcDataSource: false
pvcDataSource: true

View File

@ -0,0 +1,11 @@
---
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshotClass
metadata:
name: k8s-storage-e2e-rbd
driver: rbd.csi.ceph.com
parameters:
clusterID: @@CLUSTER_ID@@
csi.storage.k8s.io/snapshotter-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/snapshotter-secret-namespace: rook-ceph
deletionPolicy: Delete