csi: update ceph csi images to release 3.5.0
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
(cherry picked from commit e8d9884f05)
This commit is contained in:
1 parent
6819966fdb
commit
3eb97c8c6b
9 files changed
+19
-19
No files matched your search
@@ -545,7 +545,7 @@ kubectl -n $ROOK_OPERATOR_NAMESPACE edit configmap rook-ceph-operator-config
|
||||
The default upstream images are included below, which you can change to your desired images.
|
||||
|
||||
```yaml
|
||||
ROOK_CSI_CEPH_IMAGE: "quay.io/cephcsi/cephcsi:v3.4.0"
|
||||
ROOK_CSI_CEPH_IMAGE: "quay.io/cephcsi/cephcsi:v3.5.0"
|
||||
ROOK_CSI_REGISTRAR_IMAGE: "k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.3.0"
|
||||
ROOK_CSI_PROVISIONER_IMAGE: "k8s.gcr.io/sig-storage/csi-provisioner:v3.0.0"
|
||||
ROOK_CSI_ATTACHER_IMAGE: "k8s.gcr.io/sig-storage/csi-attacher:v3.3.0"
|
||||
@@ -575,6 +575,6 @@ k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.3.0
|
||||
k8s.gcr.io/sig-storage/csi-provisioner:v3.0.0
|
||||
k8s.gcr.io/sig-storage/csi-resizer:v1.3.0
|
||||
k8s.gcr.io/sig-storage/csi-snapshotter:v4.2.0
|
||||
quay.io/cephcsi/cephcsi:v3.4.0
|
||||
quay.io/cephcsi/cephcsi:v3.5.0
|
||||
quay.io/csiaddons/volumereplication-operator:v0.1.0
|
||||
```
|
||||
@@ -133,7 +133,7 @@ The following tables lists the configurable parameters of the rook-operator char
|
||||
| `csi.rbdLivenessMetricsPort` | Ceph CSI RBD driver metrics port. | `8080` |
|
||||
| `csi.forceCephFSKernelClient` | Enable Ceph Kernel clients on kernel < 4.17 which support quotas for Cephfs. | `true` |
|
||||
| `csi.kubeletDirPath` | Kubelet root directory path (if the Kubelet uses a different path for the `--root-dir` flag) | `/var/lib/kubelet` |
|
||||
| `csi.cephcsi.image` | Ceph CSI image. | `quay.io/cephcsi/cephcsi:v3.4.0` |
|
||||
| `csi.cephcsi.image` | Ceph CSI image. | `quay.io/cephcsi/cephcsi:v3.5.0` |
|
||||
| `csi.rbdPluginUpdateStrategy` | CSI Rbd plugin daemonset update strategy, supported values are OnDelete and RollingUpdate. | `OnDelete` |
|
||||
| `csi.cephFSPluginUpdateStrategy` | CSI CephFS plugin daemonset update strategy, supported values are OnDelete and RollingUpdate. | `OnDelete` |
|
||||
| `csi.registrar.image` | Kubernetes CSI registrar image. | `k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.3.0` |
|
||||
|
||||
@@ -275,7 +275,7 @@ csi:
|
||||
#rbdLivenessMetricsPort: 9080
|
||||
#kubeletDirPath: /var/lib/kubelet
|
||||
#cephcsi:
|
||||
#image: quay.io/cephcsi/cephcsi:v3.4.0
|
||||
#image: quay.io/cephcsi/cephcsi:v3.5.0
|
||||
#registrar:
|
||||
#image: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.3.0
|
||||
#provisioner:
|
||||
|
||||
@@ -4,6 +4,6 @@
|
||||
k8s.gcr.io/sig-storage/csi-resizer:v1.3.0
|
||||
k8s.gcr.io/sig-storage/csi-snapshotter:v4.2.0
|
||||
quay.io/ceph/ceph:v16.2.7
|
||||
quay.io/cephcsi/cephcsi:v3.4.0
|
||||
quay.io/cephcsi/cephcsi:v3.5.0
|
||||
quay.io/csiaddons/volumereplication-operator:v0.1.0
|
||||
rook/ceph:v1.8.2
|
||||
@@ -161,7 +161,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.4.0"
|
||||
# ROOK_CSI_CEPH_IMAGE: "quay.io/cephcsi/cephcsi:v3.5.0"
|
||||
# ROOK_CSI_REGISTRAR_IMAGE: "k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.3.0"
|
||||
# ROOK_CSI_RESIZER_IMAGE: "k8s.gcr.io/sig-storage/csi-resizer:v1.3.0"
|
||||
# ROOK_CSI_PROVISIONER_IMAGE: "k8s.gcr.io/sig-storage/csi-provisioner:v3.0.0"
|
||||
|
||||
@@ -79,7 +79,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.4.0"
|
||||
# ROOK_CSI_CEPH_IMAGE: "quay.io/cephcsi/cephcsi:v3.5.0"
|
||||
# ROOK_CSI_REGISTRAR_IMAGE: "k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.3.0"
|
||||
# ROOK_CSI_RESIZER_IMAGE: "k8s.gcr.io/sig-storage/csi-resizer:v1.3.0"
|
||||
# ROOK_CSI_PROVISIONER_IMAGE: "k8s.gcr.io/sig-storage/csi-provisioner:v3.0.0"
|
||||
|
||||
@@ -98,7 +98,7 @@ var (
|
||||
// manually challenging.
|
||||
var (
|
||||
// image names
|
||||
DefaultCSIPluginImage = "quay.io/cephcsi/cephcsi:v3.4.0"
|
||||
DefaultCSIPluginImage = "quay.io/cephcsi/cephcsi:v3.5.0"
|
||||
DefaultRegistrarImage = "k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.3.0"
|
||||
DefaultProvisionerImage = "k8s.gcr.io/sig-storage/csi-provisioner:v3.0.0"
|
||||
DefaultAttacherImage = "k8s.gcr.io/sig-storage/csi-attacher:v3.3.0"
|
||||
|
||||
@@ -25,15 +25,15 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
//minimum supported version is 3.3.0
|
||||
minimum = CephCSIVersion{3, 3, 0}
|
||||
//minimum supported version is 3.4.0
|
||||
minimum = CephCSIVersion{3, 4, 0}
|
||||
//supportedCSIVersions are versions that rook supports
|
||||
releasev330 = CephCSIVersion{3, 3, 0}
|
||||
releasev340 = CephCSIVersion{3, 4, 0}
|
||||
releasev350 = CephCSIVersion{3, 5, 0}
|
||||
supportedCSIVersions = []CephCSIVersion{
|
||||
minimum,
|
||||
releasev330,
|
||||
releasev340,
|
||||
releasev350,
|
||||
}
|
||||
// for parsing the output of `cephcsi`
|
||||
versionCSIPattern = regexp.MustCompile(`v(\d+)\.(\d+)\.(\d+)`)
|
||||
|
||||
@@ -23,9 +23,9 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
testMinVersion = CephCSIVersion{3, 3, 0}
|
||||
testReleaseV330 = CephCSIVersion{3, 3, 0}
|
||||
testMinVersion = CephCSIVersion{3, 4, 0}
|
||||
testReleaseV340 = CephCSIVersion{3, 4, 0}
|
||||
testReleaseV350 = CephCSIVersion{3, 5, 0}
|
||||
testVersionUnsupported = CephCSIVersion{4, 0, 0}
|
||||
)
|
||||
|
||||
@@ -40,12 +40,12 @@ func TestIsAtLeast(t *testing.T) {
|
||||
assert.Equal(t, true, ret)
|
||||
|
||||
// Test version which is equal
|
||||
ret = testReleaseV330.isAtLeast(&testReleaseV330)
|
||||
ret = testReleaseV340.isAtLeast(&testReleaseV340)
|
||||
assert.Equal(t, true, ret)
|
||||
|
||||
// Test for 3.4.0
|
||||
// Test for 3.5.0
|
||||
// Test version which is lesser
|
||||
ret = testReleaseV340.isAtLeast(&testReleaseV330)
|
||||
ret = testReleaseV350.isAtLeast(&testReleaseV340)
|
||||
assert.Equal(t, true, ret)
|
||||
|
||||
}
|
||||
@@ -58,10 +58,10 @@ func TestSupported(t *testing.T) {
|
||||
ret = testVersionUnsupported.Supported()
|
||||
assert.Equal(t, false, ret)
|
||||
|
||||
ret = testReleaseV330.Supported()
|
||||
ret = testReleaseV340.Supported()
|
||||
assert.Equal(t, true, ret)
|
||||
|
||||
ret = testReleaseV340.Supported()
|
||||
ret = testReleaseV350.Supported()
|
||||
assert.Equal(t, true, ret)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user