Custom Images
By default, Rook will deploy the latest stable version of the Ceph CSI driver. Commonly, there is no need to change this default version that is deployed. For scenarios that require deploying a custom image (e.g. downstream releases), the defaults can be overridden with the following settings.
The CSI configuration variables are found in the rook-ceph-operator-config
ConfigMap. These settings can also be specified as environment variables on the operator deployment, though the configmap values will override the env vars if both are specified.
The default upstream images are included below, which you can change to your desired images.
Use private repository¶
If image version is not passed along with the image name in any of the variables above, Rook will add the corresponding default version to that image. Example: if ROOK_CSI_CEPH_IMAGE: "quay.io/private-repo/cephcsi"
is passed, Rook will add internal default version and consume it as "quay.io/private-repo/cephcsi:v3.7.2"
.
Use default images¶
If you would like Rook to use the default upstream images, then you may simply remove all variables matching ROOK_CSI_*_IMAGE
from the above ConfigMap and/or the operator deployment.
Verifying updates¶
You can use the below command to see the CSI images currently being used in the cluster. Note that not all images (like volumereplication-operator
) may be present in every cluster depending on which CSI features are enabled.
The default images can also be found with each release in the images list