Skip to content

Commit

Permalink
fix: wait on helm install jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
mjnagel authored Dec 14, 2024
1 parent ed116f6 commit c6349ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/iac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ tasks:
# wait for cluster components
while true; do
if [ $(uds zarf tools kubectl get po -A --no-headers=true | egrep -v 'Running|Completed' | wc -l) -gt 0 ]; then
if [ $(uds zarf tools kubectl get po,job -A --no-headers=true | egrep -v 'Running|Complete' | wc -l) -gt 0 ]; then
echo "Waiting for cluster components to be ready...";
sleep 5;
else
Expand Down

0 comments on commit c6349ba

Please sign in to comment.