addons/cert_manager: retries until webhook pods has been created (#7850)
Fix task 'Cert Manager | Wait for Webhook pods become ready' failed due to webhook pods don't exist yet by using `retries..until` trick like kubernetes-sigs/kubespray#7842 This fix should be removed in the future if the kubernetes/kubernetes#83242 is resolved. Signed-off-by: rtsp <git@rtsp.us>pull/7910/head
parent
5336943a8c
commit
4c9d7dedb3
|
@ -71,6 +71,9 @@
|
|||
command: "{{ bin_dir }}/kubectl wait po --namespace={{ cert_manager_namespace }} --selector app=webhook --for=condition=Ready --timeout=600s"
|
||||
register: cert_manager_webhook_pods_ready
|
||||
when: inventory_hostname == groups['kube_control_plane'][0]
|
||||
until: cert_manager_webhook_pods_ready is succeeded
|
||||
retries: 30
|
||||
delay: 10
|
||||
|
||||
- name: Cert Manager | Create ClusterIssuer manifest
|
||||
template:
|
||||
|
|
Loading…
Reference in New Issue