Skip to content

Commit 49f6a70

Browse files
authored
Merge pull request #236 from projectsyn/feat/expose-csi-operator-image
Add top-level parameter for Ceph CSI operator image
2 parents 032452c + 78ede57 commit 49f6a70

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

class/defaults.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,10 @@ parameters:
248248
registry: quay.io
249249
image: cephcsi/cephcsi
250250
tag: v3.15.1
251+
ceph-csi-operator:
252+
registry: quay.io
253+
image: cephcsi/ceph-csi-operator
254+
tag: v0.4.1
251255
oc:
252256
registry: quay.io
253257
repository: appuio/oc
@@ -272,6 +276,12 @@ parameters:
272276
cpu: 750m
273277
memory: 512Mi
274278
tolerations: ${rook_ceph:tolerations}
279+
ceph-csi-operator:
280+
controllerManager:
281+
manager:
282+
image:
283+
repository: ${rook_ceph:images:ceph-csi-operator:registry}/${rook_ceph:images:ceph-csi-operator:image}
284+
tag: ${rook_ceph:images:ceph-csi-operator:tag}
275285
csi:
276286
provisionerTolerations: ${rook_ceph:tolerations}
277287
enableCSIHostNetwork: true

docs/modules/ROOT/pages/references/parameters.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ The component assumes that nodes on which the deployments should be scheduled ma
489489
type:: dict
490490
default:: See https://github.com/projectsyn/component-rook-ceph/blob/master/class/defaults.yml[`class/defaults.yml` on Github]
491491

492-
This parameter allows selecting the Docker images to use for Rook.io, Ceph, and Ceph-CSI.
492+
This parameter allows selecting the Docker images to use for Rook.io, Ceph, the Ceph CSI operator, and Ceph-CSI.
493493
Each image is specified using keys `registry`, `image` and `tag`.
494494
This structure allows easily injecting a registry mirror, if required.
495495

@@ -521,7 +521,7 @@ The Helm values to use when rendering the rook-ceph operator Helm chart.
521521

522522
A few Helm values are configured based on other component parameters by default:
523523

524-
* The data in parameter `images` is used to set the `image.repository`, `image.tag`, `csi.cephcsi.repository`, and `csi.cephcsi.tag` Helm values
524+
* The data in parameter `images` is used to set the `image.repository`, `image.tag`, `ceph-csi-operator.controllerManager.manager.image.repository`, `ceph-csi-operator.controllerManager.manager.image.tag`, `csi.cephcsi.repository`, and `csi.cephcsi.tag` Helm values
525525
* The value of `node_selector` is used to set Helm value `nodeSelector`
526526
* The value of `tolerations` is used to set Helm value `tolerations`
527527
* The component ensures that `hostpathRequiresPrivileged` is enabled on OpenShift 4 regardless of the contents of the Helm value.

0 commit comments

Comments
 (0)