Skip to content

Commit

Permalink
Resolve checkton errors
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Misstear <[email protected]>
  • Loading branch information
amisstea authored and mmorhun committed Aug 8, 2024
1 parent 968e7de commit fcfec33
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ spec:
echo -n $CTI_NAME > $(step.results.clusterName.path)
echo "Waiting for ClusterTemplateInstance to be ready ($TIMEOUT timeout)"
if "${OC[@]}" wait cti $CTI_NAME --for=jsonpath='{.status.phase}'=Ready --timeout="$TIMEOUT"; then
if "${OC[@]}" wait cti "$CTI_NAME" --for=jsonpath='{.status.phase}'=Ready --timeout="$TIMEOUT"; then
echo "Successfully provisioned $CTI_NAME"
exit 0
else
"${OC[@]}" get cti $CTI_NAME -o yaml
"${OC[@]}" get cti "$CTI_NAME" -o yaml
echo "Failed to provision $CTI_NAME"
exit 1
fi

0 comments on commit fcfec33

Please sign in to comment.