]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/rook: Install ceph-csi-operator CRDs before cluster create
authorDavid Galloway <david.galloway@ibm.com>
Thu, 26 Mar 2026 19:27:54 +0000 (15:27 -0400)
committerDavid Galloway <david.galloway@ibm.com>
Thu, 26 Mar 2026 19:55:13 +0000 (15:55 -0400)
Signed-off-by: David Galloway <david.galloway@ibm.com>
src/pybind/mgr/rook/ci/scripts/bootstrap-rook-cluster.sh

index ef19dfc946f6e3002e443025eef28a91b32ab1ef..f46b227c8f7faab8fdb168a78a56bd40537b69a9 100755 (executable)
@@ -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() {