Description of problem: All Feature:VolumeSnapshotDataSource tests are failing with: ErrStatus: { TypeMeta: {Kind: "Status", APIVersion: "v1"}, ListMeta: { SelfLink: "", ResourceVersion: "", Continue: "", RemainingItemCount: nil, }, Status: "Failure", Message: "admission webhook \"volumesnapshotclasses.snapshot.storage.k8s.io\" denied the request: expect resource to be {snapshot.storage.k8s.io v1beta1 volumesnapshots} or {snapshot.storage.k8s.io v1beta1 volumesnapshotcontents}", Reason: "", Details: nil, Code: 400, }, https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/25764/pull-ci-openshift-origin-master-e2e-gcp-csi/1339183779394097152 The test creates snapshot.storage.k8s.io/v1 object, while the webhook handles only snapshot.storage.k8s.io/v1beta1. Upstream webhook validates only snapshot.storage.k8s.io/v1beta1 objects, so we should do the same downstream. At least for now.
Verified pass. Snapshot related case passed like: https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/24875/pull-ci-openshift-origin-master-e2e-gcp-csi/1339440738684899328
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633