Skip to content

Commit

Permalink
e2e: enable more k8s storage tests
Browse files Browse the repository at this point in the history
enable more rbd specific storage
tests

Signed-off-by: Madhu Rajanna <[email protected]>
  • Loading branch information
Madhu-1 authored and mergify[bot] committed Sep 30, 2024
1 parent 2d82ceb commit 961c0a8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/k8s-storage/driver-rbd-rwo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
11 changes: 11 additions & 0 deletions scripts/k8s-storage/volumesnapshotclass-rbd.yaml.in
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 961c0a8

Please sign in to comment.