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:
Sairam Bisoyi
2026-08-14 16:16:48 +08:00
committed by GitHub
parent 8e3c92f0bf
commit 31d0e967be
+9
View File
@@ -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