diff --git a/deploy/examples/operator.yaml b/deploy/examples/operator.yaml index ce480422c..014a0f012 100644 --- a/deploy/examples/operator.yaml +++ b/deploy/examples/operator.yaml @@ -92,7 +92,7 @@ data: # The default version of CSI supported by Rook will be started. To change the version # of the CSI driver to something other than what is officially supported, change # these images to the desired release of the CSI driver. - # ROOK_CSI_CEPH_IMAGE: "quay.io/cephcsi/cephcsi:v3.6.2" + # ROOK_CSI_CEPH_IMAGE: "quay.io/cephcsi/cephcsi:v3.7.0" # ROOK_CSI_REGISTRAR_IMAGE: "registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.5.1" # ROOK_CSI_RESIZER_IMAGE: "registry.k8s.io/sig-storage/csi-resizer:v1.4.0" # ROOK_CSI_PROVISIONER_IMAGE: "registry.k8s.io/sig-storage/csi-provisioner:v3.1.0" diff --git a/pkg/operator/ceph/csi/version.go b/pkg/operator/ceph/csi/version.go index 7546c1556..fbea487a4 100644 --- a/pkg/operator/ceph/csi/version.go +++ b/pkg/operator/ceph/csi/version.go @@ -26,7 +26,7 @@ import ( var ( //minimum supported version is 3.7.0 - minimum = CephCSIVersion{3, 7, 0} + minimum = CephCSIVersion{3, 6, 0} //supportedCSIVersions are versions that rook supports releasev370 = CephCSIVersion{3, 7, 0} diff --git a/pkg/operator/ceph/csi/version_test.go b/pkg/operator/ceph/csi/version_test.go index b155829d8..84e8c6ed3 100644 --- a/pkg/operator/ceph/csi/version_test.go +++ b/pkg/operator/ceph/csi/version_test.go @@ -23,7 +23,7 @@ import ( ) var ( - testMinVersion = CephCSIVersion{3, 7, 0} + testMinVersion = CephCSIVersion{3, 6, 0} testReleaseV350 = CephCSIVersion{3, 5, 0} testReleaseV360 = CephCSIVersion{3, 6, 0} testReleaseV361 = CephCSIVersion{3, 6, 1} @@ -64,7 +64,7 @@ func TestSupported(t *testing.T) { assert.Equal(t, false, ret) ret = testReleaseV360.Supported() - assert.Equal(t, false, ret) + assert.Equal(t, true, ret) ret = testReleaseV370.Supported() assert.Equal(t, true, ret)