diff --git a/ci-operator/step-registry/hypershift/mce/install/hypershift-mce-install-commands.sh b/ci-operator/step-registry/hypershift/mce/install/hypershift-mce-install-commands.sh index 8e15ae6753bf..b3dde5b50d95 100644 --- a/ci-operator/step-registry/hypershift/mce/install/hypershift-mce-install-commands.sh +++ b/ci-operator/step-registry/hypershift/mce/install/hypershift-mce-install-commands.sh @@ -208,6 +208,9 @@ if [ $_configReady -eq 0 ]; then fi echo "Configuring the hosting service cluster Succeeded!" +# export icsp for hypershift hostedcluster if needed +oc get imagecontentsourcepolicy -oyaml > /tmp/mgmt_iscp.yaml && yq-go r /tmp/mgmt_iscp.yaml 'items[*].spec.repositoryDigestMirrors' - | sed '/---*/d' > ${SHARED_DIR}/mgmt_iscp.yaml + echo "wait for addon to Available" oc wait --timeout=5m --for=condition=Available -n local-cluster ManagedClusterAddOn/hypershift-addon oc wait --timeout=5m --for=condition=Degraded=False -n local-cluster ManagedClusterAddOn/hypershift-addon \ No newline at end of file