From 24a7e54bc17f0c669dc754a672ff79b944fbfb78 Mon Sep 17 00:00:00 2001 From: karmab Date: Sun, 28 Jul 2024 19:20:43 +0200 Subject: [PATCH] openshift app acm: wait for mch in correct namespace --- .../apps/advanced-cluster-management/assisted-service.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kvirt/cluster/openshift/apps/advanced-cluster-management/assisted-service.sh b/kvirt/cluster/openshift/apps/advanced-cluster-management/assisted-service.sh index aff4c1298..f327b28be 100755 --- a/kvirt/cluster/openshift/apps/advanced-cluster-management/assisted-service.sh +++ b/kvirt/cluster/openshift/apps/advanced-cluster-management/assisted-service.sh @@ -2,7 +2,7 @@ # oc create -f 99-metal3-provisioning.yaml >/dev/null 2>&1 || oc patch provisioning provisioning-configuration --type merge -p '{"spec":{"watchAllNamespaces": true}}' -oc wait --for=condition=complete multiclusterhub/multiclusterhub --timeout=10m +oc -n open-cluster-management wait --for=condition=complete multiclusterhub/multiclusterhub --timeout=10m until oc get crd/agentserviceconfigs.agent-install.openshift.io >/dev/null 2>&1 ; do sleep 1 ; done until oc get crd/clusterimagesets.hive.openshift.io >/dev/null 2>&1 ; do sleep 1 ; done