File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -164,10 +164,13 @@ spec:
164164 oc patch configmap/pipeline-output -p '{"data":{"Status":"Deployment Pipeline completed to install mas core."}}'
165165 tasks :
166166 - name : check-container-registry
167+ taskRef :
168+ kind : Task
169+ name : ibm-pak
167170 params :
168171 - name : SCRIPT
169172 value : |
170- status=$(oc get config -o jsonpath='{.items[0] .status.conditions[?(@.type=="Available")].reason}')
173+ status=$(oc get configs.imageregistry.operator.openshift.io cluster -o jsonpath='{.status.conditions[?(@.type=="Available")].reason}')
171174
172175 TIMEOUT_SECONDS=300
173176 while [[ "$status" != "Ready" ]] && [[ $SECONDS -lt $TIMEOUT_SECONDS ]]; do
@@ -181,7 +184,7 @@ spec:
181184 sleep 10
182185
183186 # Update status
184- status=$(oc get config -o jsonpath='{.items[0] .status.conditions[?(@.type=="Available")].reason}')
187+ status=$(oc get configs.imageregistry.operator.openshift.io cluster -o jsonpath='{.status.conditions[?(@.type=="Available")].reason}')
185188 done
186189
187190 if [[ "$status" == "Ready" ]]; then
You can’t perform that action at this time.
0 commit comments