Skip to content

Commit

Permalink
Bug 2135626: don't use rook master tag in Job
Browse files Browse the repository at this point in the history
we should not be using rook master tag in init container in product
deployments instead, we should be using rook version from env var.

Signed-off-by: subhamkrai <[email protected]>
  • Loading branch information
subhamkrai authored and openshift-cherrypick-robot committed Oct 19, 2022
1 parent 8e6ad8d commit 488ab8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/storagecluster/job_templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func newExtendClusterJob(sc *ocsv1.StorageCluster, jobTemplateName string, cephC
InitContainers: []corev1.Container{
{
Name: "config-init",
Image: "rook/ceph:master",
Image: os.Getenv("ROOK_CEPH_IMAGE"),
Command: []string{"/usr/local/bin/toolbox.sh"},
Args: []string{"--skip-watch"},
ImagePullPolicy: "IfNotPresent",
Expand Down

0 comments on commit 488ab8b

Please sign in to comment.