File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -648,18 +648,18 @@ function setupVoyagerLoadBalancer {
648648 # deploy Voyager Ingress resource
649649 kubectl apply -f ${voyagerOutput}
650650
651- echo Checking Voyager deploy
651+ echo Checking Voyager Ingress resource
652652 local maxwaitsecs=100
653653 local mstart=` date +%s`
654654 while : ; do
655655 local mnow=` date +%s`
656- local vdep=` kubectl get deploy -n ${namespace} | grep ${domainUID} -voyager | wc | awk ' { print $1; } ' `
656+ local vdep=` kubectl get ingresses.voyager.appscode.com -n ${namespace} | grep ${domainUID} -voyager | wc | awk ' { print $1; } ' `
657657 if [ " $vdep " = " 1" ]; then
658- echo ' The deployment ${domainUID}-voyager is created successful .'
658+ echo ' The Voyager Ingress resource ${domainUID}-voyager is created successfully .'
659659 break
660660 fi
661661 if [ $(( mnow - mstart)) -gt $(( maxwaitsecs)) ]; then
662- fail " The deployment ${domainUID} -voyager was not created."
662+ fail " The Voyager Ingress resource ${domainUID} -voyager was not created."
663663 fi
664664 sleep 5
665665 done
@@ -671,7 +671,7 @@ function setupVoyagerLoadBalancer {
671671 local mnow=` date +%s`
672672 local vscv=` kubectl get service ${domainUID} -voyager-stats -n ${namespace} | grep ${domainUID} -voyager-stats | wc | awk ' { print $1; } ' `
673673 if [ " $vscv " = " 1" ]; then
674- echo ' The service ${domainUID}-voyager-stats is created successful .'
674+ echo ' The service ${domainUID}-voyager-stats is created successfully .'
675675 break
676676 fi
677677 if [ $(( mnow - mstart)) -gt $(( maxwaitsecs)) ]; then
You can’t perform that action at this time.
0 commit comments