From: David Galloway Date: Thu, 26 Mar 2026 19:27:54 +0000 (-0400) Subject: mgr/rook: Install ceph-csi-operator CRDs before cluster create X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b27662763ade5b5c45f9e4850de9ce9551f94532;p=ceph.git mgr/rook: Install ceph-csi-operator CRDs before cluster create Signed-off-by: David Galloway --- diff --git a/src/pybind/mgr/rook/ci/scripts/bootstrap-rook-cluster.sh b/src/pybind/mgr/rook/ci/scripts/bootstrap-rook-cluster.sh index ef19dfc946f6..f46b227c8f7f 100755 --- a/src/pybind/mgr/rook/ci/scripts/bootstrap-rook-cluster.sh +++ b/src/pybind/mgr/rook/ci/scripts/bootstrap-rook-cluster.sh @@ -71,11 +71,13 @@ build_ceph_image() { } create_rook_cluster() { - $KUBECTL create -f https://raw.githubusercontent.com/rook/rook/master/deploy/examples/crds.yaml - $KUBECTL create -f https://raw.githubusercontent.com/rook/rook/master/deploy/examples/common.yaml - $KUBECTL create -f https://raw.githubusercontent.com/rook/rook/master/deploy/examples/operator.yaml + local base="https://raw.githubusercontent.com/rook/rook/master/deploy/examples" + $KUBECTL create -f ${base}/crds.yaml + $KUBECTL create -f ${base}/common.yaml + $KUBECTL create -f ${base}/csi-operator.yaml + $KUBECTL create -f ${base}/operator.yaml $KUBECTL create -f $CLUSTER_SPEC - $KUBECTL create -f https://raw.githubusercontent.com/rook/rook/master/deploy/examples/toolbox.yaml + $KUBECTL create -f ${base}/toolbox.yaml } is_operator_ready() {