addons/cert_manager: fix kubernetes-sigs#7085 by adding retries..until (#7842)
Fix task 'Cert Manager | Apply ClusterIssuer manifest' failed due to service/endpoints updating delayed even though the wekhook pod status is ready. Signed-off-by: rtsp <git@rtsp.us>
This commit is contained in:
parent
a70fab2249
commit
82a9064d8d
1 changed files with 4 additions and 0 deletions
|
@ -87,3 +87,7 @@
|
|||
filename: "{{ kube_config_dir }}/addons/cert_manager/clusterissuer-cert-manager.yml"
|
||||
state: "latest"
|
||||
when: inventory_hostname == groups['kube_control_plane'][0] and cert_manager_clusterissuer_manifest is succeeded
|
||||
register: cert_manager_apply_clusterissuer_manifest
|
||||
until: cert_manager_apply_clusterissuer_manifest is succeeded
|
||||
retries: 30
|
||||
delay: 10
|
||||
|
|
Loading…
Reference in a new issue