fix: add retries to find running web pod (#1787)

This commit is contained in:
kurokobo
2024-03-28 03:25:10 +09:00
committed by GitHub
parent a6e7a1bec3
commit 07b8120788

View File

@@ -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: