Skip to content

Commit

Permalink
fix: add retries to find running web pod (#1787)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurokobo authored Mar 27, 2024
1 parent a6e7a1b commit 07b8120
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions roles/installer/tasks/resources_configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,11 @@
field_selectors:
- status.phase=Running
register: _new_pod
until:
- "_new_pod['resources'] | length"
- "_new_pod['resources'] | rejectattr('metadata.deletionTimestamp', 'defined') | length"
retries: 60
delay: 5

- name: Update new resource pod as a variable.
set_fact:
Expand Down

0 comments on commit 07b8120

Please sign in to comment.