mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-08-15 19:56:06 +00:00
E2E: add kind VolumeSnapshotClass test data (#10236)
BeforeSuite applies testdata/volume-snapshot-class/<provider>.yaml when CSI is enabled, and there is no kind.yaml, so the suite fails before any spec runs and none of the existing CSI tests can run on kind. This adds a class for csi-driver-host-path. The driver ships its own, but it lacks the velero.io/csi-volumesnapshot-class label so Velero never selects it. Nothing sets FEATURES=EnableCSI for kind yet, so no test that runs today is affected. Signed-off-by: Sairam Bisoyi <sairamb2007.21@gmail.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: snapshot.storage.k8s.io/v1
|
||||
deletionPolicy: Delete
|
||||
driver: hostpath.csi.k8s.io
|
||||
kind: VolumeSnapshotClass
|
||||
metadata:
|
||||
labels:
|
||||
velero.io/csi-volumesnapshot-class: "true"
|
||||
name: e2e-volume-snapshot-class
|
||||
Reference in New Issue
Block a user