csi: update cephcsi image to 3.10.2
Updating the cephcsi image to 3.10.2
which is the latest released one.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit c22597a32c)
This commit is contained in:
1 parent
1278a78188
commit
c6c2cdfa29
9 files changed
+17
-12
No files matched your search
@@ -136,7 +136,7 @@ var (
|
||||
// manually challenging.
|
||||
var (
|
||||
// image names
|
||||
DefaultCSIPluginImage = "quay.io/cephcsi/cephcsi:v3.10.1"
|
||||
DefaultCSIPluginImage = "quay.io/cephcsi/cephcsi:v3.10.2"
|
||||
DefaultRegistrarImage = "registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.1"
|
||||
DefaultProvisionerImage = "registry.k8s.io/sig-storage/csi-provisioner:v3.6.3"
|
||||
DefaultAttacherImage = "registry.k8s.io/sig-storage/csi-attacher:v4.4.2"
|
||||
|
||||
@@ -267,7 +267,7 @@ func Test_getImage(t *testing.T) {
|
||||
args: args{
|
||||
data: map[string]string{},
|
||||
settingName: "ROOK_CSI_CEPH_IMAGE",
|
||||
defaultImage: "quay.io/cephcsi/cephcsi:v3.10.1",
|
||||
defaultImage: "quay.io/cephcsi/cephcsi:v3.10.2",
|
||||
},
|
||||
want: DefaultCSIPluginImage,
|
||||
},
|
||||
@@ -278,7 +278,7 @@ func Test_getImage(t *testing.T) {
|
||||
"ROOK_CSI_CEPH_IMAGE": "registry.io/private/cephcsi:v8",
|
||||
},
|
||||
settingName: "ROOK_CSI_CEPH_IMAGE",
|
||||
defaultImage: "quay.io/cephcsi/cephcsi:v3.10.1",
|
||||
defaultImage: "quay.io/cephcsi/cephcsi:v3.10.2",
|
||||
},
|
||||
want: "registry.io/private/cephcsi:v8",
|
||||
},
|
||||
@@ -289,9 +289,9 @@ func Test_getImage(t *testing.T) {
|
||||
"ROOK_CSI_CEPH_IMAGE": "registry.io/private/cephcsi",
|
||||
},
|
||||
settingName: "ROOK_CSI_CEPH_IMAGE",
|
||||
defaultImage: "quay.io/cephcsi/cephcsi:v3.10.1",
|
||||
defaultImage: "quay.io/cephcsi/cephcsi:v3.10.2",
|
||||
},
|
||||
want: "registry.io/private/cephcsi:v3.10.1",
|
||||
want: "registry.io/private/cephcsi:v3.10.2",
|
||||
},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
|
||||
@@ -30,6 +30,7 @@ var (
|
||||
testReleaseV391 = CephCSIVersion{3, 9, 1}
|
||||
testreleasev310 = CephCSIVersion{3, 10, 0}
|
||||
testReleaseV3101 = CephCSIVersion{3, 10, 1}
|
||||
testReleaseV3102 = CephCSIVersion{3, 10, 2}
|
||||
|
||||
testVersionUnsupported = CephCSIVersion{4, 0, 0}
|
||||
)
|
||||
@@ -60,6 +61,10 @@ func TestIsAtLeast(t *testing.T) {
|
||||
ret = testReleaseV3101.isAtLeast(&testReleaseV3101)
|
||||
assert.Equal(t, true, ret)
|
||||
|
||||
// Test for 3.10.2
|
||||
ret = testReleaseV3102.isAtLeast(&testReleaseV3102)
|
||||
assert.Equal(t, true, ret)
|
||||
|
||||
}
|
||||
|
||||
func TestSupported(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user