You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print_error "Failed to create the private path gateway!"
399
+
abortScript
400
+
fi
401
401
402
402
print_msg "\nWaiting for the Private Path integration '$ce_vpegatewayconnection_name' to become ready ..."
403
403
COUNTER=0
404
-
while! [[ $(kubectl get vpegatewayconnection$ce_vpegatewayconnection_name -o JSON|jq -r '.status|.conditions|.[]|select(.type=="Ready")|.status')=="True" ]];do
404
+
while! [[ $(ibmcloud ce connectivity outbound get -n$ce_vpegatewayconnection_name -o json|jq -r '.status')=="ready" ]];do
405
405
sleep 5
406
406
COUNTER=$((COUNTER +1))
407
407
if((COUNTER >30));then
408
-
kubectl get vpegatewayconnection$ce_vpegatewayconnection_name -o YAML
409
-
print_error "The Private Path integration does not became ready as expected. Perform 'kubectl get vpegatewayconnection$ce_vpegatewayconnection_name -o yaml' for further details."
408
+
ibmcloud ce connectivity outbound get -n$ce_vpegatewayconnection_name -o json
409
+
print_error "The Private Path integration does not became ready as expected. Perform 'ibmcloud ce connectivity outbound get -n$ce_vpegatewayconnection_name -o json' for further details."
0 commit comments