Skip to content

Commit

Permalink
addons/cert_manager: fix kubernetes-sigs#7085 by adding retries..until (
Browse files Browse the repository at this point in the history
kubernetes-sigs#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 <[email protected]>
  • Loading branch information
rtsp authored and sakuraiyuta committed Apr 16, 2022
1 parent 196dce5 commit 45033a9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 45033a9

Please sign in to comment.