mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-04 22:33:13 -04: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:
parent
321c1e37c0
commit
3e33e61968
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue