File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -243,8 +243,11 @@ export function stopKubectlPortForwards() {
243243 * Install Rook/Ceph storage that supports CSI snapshot
244244 */
245245export function installRookCeph ( options : { kubeconfig : string } ) {
246- exec (
247- `kubectl --kubeconfig ${ options . kubeconfig } apply -f .werft/vm/manifests/rook-ceph/crds.yaml -f .werft/vm/manifests/rook-ceph/common.yaml -f .werft/vm/manifests/rook-ceph/operator.yaml` ,
246+ exec ( `kubectl --kubeconfig ${ options . kubeconfig } apply -f .werft/vm/manifests/rook-ceph/crds.yaml --server-side --force-conflicts`
247+ ) ;
248+ exec ( `kubectl --kubeconfig ${ options . kubeconfig } wait --for condition=established --timeout=120s crd/cephclusters.ceph.rook.io`
249+ ) ;
250+ exec ( `kubectl --kubeconfig ${ options . kubeconfig } apply -f .werft/vm/manifests/rook-ceph/common.yaml -f .werft/vm/manifests/rook-ceph/operator.yaml`
248251 ) ;
249252 exec ( `kubectl --kubeconfig ${ options . kubeconfig } apply -f .werft/vm/manifests/rook-ceph/cluster-test.yaml` ) ;
250253 exec ( `kubectl --kubeconfig ${ options . kubeconfig } apply -f .werft/vm/manifests/rook-ceph/storageclass-test.yaml` ) ;
You can’t perform that action at this time.
0 commit comments