File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,6 +40,9 @@ deploy_rook() {
4040 kubectl create -f https://raw.githubusercontent.com/rook/rook/master/deploy/examples/common.yaml
4141 kubectl create -f https://raw.githubusercontent.com/rook/rook/master/deploy/examples/crds.yaml
4242 kubectl create -f https://raw.githubusercontent.com/rook/rook/master/deploy/examples/operator.yaml
43+ kubectl create -f https://raw.githubusercontent.com/rook/rook/master/deploy/examples/csi-operator.yaml
44+
45+ wait_for_operator_pod_to_be_ready_state rook-ceph
4346 curl https://raw.githubusercontent.com/rook/rook/master/deploy/examples/cluster-test.yaml -o cluster-test.yaml
4447 sed -i " s|#deviceFilter:|deviceFilter: ${BLOCK/ \/ dev\/ / } |g" cluster-test.yaml
4548 sed -i ' 0,/count: 1/ s/count: 1/count: 3/' cluster-test.yaml
@@ -64,6 +67,10 @@ deploy_rook_in_custom_namespace() {
6467 curl -f https://raw.githubusercontent.com/rook/rook/master/deploy/examples/operator.yaml -o operator.yaml
6568 deploy_with_custom_ns " $OPERATOR_NS " " $CLUSTER_NS " operator.yaml
6669
70+ curl -f https://raw.githubusercontent.com/rook/rook/master/deploy/examples/csi-operator.yaml -o csi-operator.yaml
71+ sed -i " s|namespace: rook-ceph|namespace: ${OPERATOR_NS} |g" csi-operator.yaml
72+ kubectl create -f csi-operator.yaml
73+
6774 curl https://raw.githubusercontent.com/rook/rook/master/deploy/examples/cluster-test.yaml -o cluster-test.yaml
6875 sed -i " s|#deviceFilter:|deviceFilter: ${BLOCK/ \/ dev\/ / } |g" cluster-test.yaml
6976 sed -i ' 0,/count: 1/ s/count: 1/count: 3/' cluster-test.yaml
You can’t perform that action at this time.
0 commit comments