mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-19 07:25:19 +00:00
Enable group snapshot tests
e2e.test now requires CSI_PROW_ENABLE_GROUP_SNAPSHOT to be enabled to run the csi-driver-hostpath tests with volume group snapshots. See https://github.com/kubernetes/kubernetes/pull/134214/
This commit is contained in:
@@ -272,7 +272,10 @@ run_tests() {
|
||||
# PID, bash will not run traps while waiting on a process, but it will while
|
||||
# running a builtin like `wait`, saving the PID also allows us to forward the
|
||||
# interrupt
|
||||
|
||||
|
||||
# Enable VolumeGroupSnapshot tests in csi-driver-hostpath
|
||||
export CSI_PROW_ENABLE_GROUP_SNAPSHOT=true
|
||||
|
||||
kubectl apply -f ./cluster/addons/volumesnapshots/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml || exit 1
|
||||
kubectl apply -f ./cluster/addons/volumesnapshots/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml || exit 1
|
||||
kubectl apply -f ./cluster/addons/volumesnapshots/crd/snapshot.storage.k8s.io_volumesnapshots.yaml || exit 1
|
||||
|
||||
Reference in New Issue
Block a user