Skip to content

Commit 050f9ab

Browse files
Merge pull request #2387 from stbenjam/revert-broken-storage-tests
NO-JIRA: UPSTREAM: <drop>: Revert "Bump external snapshotter for vgs tests"
2 parents 8fee314 + 3d2b1af commit 050f9ab

File tree

6 files changed

+8
-10
lines changed

6 files changed

+8
-10
lines changed

test/e2e/storage/testsuites/volume_group_snapshottable.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ func (s *VolumeGroupSnapshottableTestSuite) DefineTests(driver storageframework.
196196
volumeHandle := volume.(map[string]interface{})["volumeHandle"].(string)
197197
err = framework.Gomega().Expect(volumeHandle).NotTo(gomega.BeNil())
198198
framework.ExpectNoError(err, "failed to get volume handle from volume")
199-
uid := snapshot.VGS.Object["metadata"].(map[string]interface{})["uid"].(string)
199+
uid := snapshot.VGSContent.Object["metadata"].(map[string]interface{})["uid"].(string)
200200
err = framework.Gomega().Expect(uid).NotTo(gomega.BeNil())
201201
framework.ExpectNoError(err, "failed to get uuid from content")
202202
volumeSnapshotName := fmt.Sprintf("snapshot-%x", sha256.Sum256([]byte(

test/e2e/testing-manifests/storage-csi/external-snapshotter/volume-group-snapshots/csi-hostpath-plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ spec:
354354
name: socket-dir
355355

356356
- name: csi-snapshotter
357-
image: registry.k8s.io/sig-storage/csi-snapshotter:v8.3.0
357+
image: registry.k8s.io/sig-storage/csi-snapshotter:v8.2.0
358358
args:
359359
- -v=5
360360
- --csi-address=/csi/csi.sock

test/e2e/testing-manifests/storage-csi/external-snapshotter/volume-group-snapshots/run_group_snapshot_e2e.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,6 @@ run_tests() {
266266
export KUBE_CONTAINER_RUNTIME=remote
267267
export KUBE_CONTAINER_RUNTIME_ENDPOINT=unix:///run/containerd/containerd.sock
268268
export KUBE_CONTAINER_RUNTIME_NAME=containerd
269-
export SNAPSHOTTER_VERSION="${SNAPSHOTTER_VERSION:-v8.3.0}"
270-
echo "SNAPSHOTTER_VERSION is $SNAPSHOTTER_VERSION"
271269
# ginkgo can take forever to exit, so we run it in the background and save the
272270
# PID, bash will not run traps while waiting on a process, but it will while
273271
# running a builtin like `wait`, saving the PID also allows us to forward the
@@ -280,10 +278,10 @@ run_tests() {
280278
kubectl apply -f test/e2e/testing-manifests/storage-csi/external-snapshotter/groupsnapshot.storage.k8s.io_volumegroupsnapshotcontents.yaml || exit 1
281279
kubectl apply -f test/e2e/testing-manifests/storage-csi/external-snapshotter/groupsnapshot.storage.k8s.io_volumegroupsnapshots.yaml || exit 1
282280

283-
kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/refs/tags/"${SNAPSHOTTER_VERSION}"/deploy/kubernetes/snapshot-controller/rbac-snapshot-controller.yaml || exit 1
284-
curl -s https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/refs/tags/"${SNAPSHOTTER_VERSION}"/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml | \
281+
kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/refs/tags/v8.2.0/deploy/kubernetes/snapshot-controller/rbac-snapshot-controller.yaml || exit 1
282+
curl -s https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/refs/tags/v8.2.0/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml | \
285283
awk '/--leader-election=true/ {print; print " - \"--feature-gates=CSIVolumeGroupSnapshot=true\""; next}1' | \
286-
sed "s|image: registry.k8s.io/sig-storage/snapshot-controller:.*|image: registry.k8s.io/sig-storage/snapshot-controller:${SNAPSHOTTER_VERSION}|" | \
284+
sed 's|image: registry.k8s.io/sig-storage/snapshot-controller:v8.0.1|image: registry.k8s.io/sig-storage/snapshot-controller:v8.2.0|' | \
287285
kubectl apply -f - || exit 1
288286

289287

test/e2e/testing-manifests/storage-csi/gce-pd/controller_ss.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
serviceAccountName: csi-gce-pd-controller-sa
2222
containers:
2323
- name: csi-snapshotter
24-
image: registry.k8s.io/sig-storage/csi-snapshotter:v8.3.0
24+
image: registry.k8s.io/sig-storage/csi-snapshotter:v8.2.0
2525
args:
2626
- "--v=5"
2727
- "--csi-address=/csi/csi.sock"

test/e2e/testing-manifests/storage-csi/hostpath/hostpath/csi-hostpath-plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ spec:
354354
name: socket-dir
355355

356356
- name: csi-snapshotter
357-
image: registry.k8s.io/sig-storage/csi-snapshotter:v8.3.0
357+
image: registry.k8s.io/sig-storage/csi-snapshotter:v8.2.0
358358
args:
359359
- -v=5
360360
- --csi-address=/csi/csi.sock

test/e2e/testing-manifests/storage-csi/mock/csi-mock-driver-snapshotter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
serviceAccountName: csi-mock
1616
containers:
1717
- name: csi-snapshotter
18-
image: registry.k8s.io/sig-storage/csi-snapshotter:v8.3.0
18+
image: registry.k8s.io/sig-storage/csi-snapshotter:v8.2.0
1919
args:
2020
- "--v=5"
2121
- "--csi-address=$(ADDRESS)"

0 commit comments

Comments
 (0)