diff --git a/molecule/end-to-end_demo/converge.yml b/molecule/end-to-end_demo/converge.yml index 43d99be..534192e 100644 --- a/molecule/end-to-end_demo/converge.yml +++ b/molecule/end-to-end_demo/converge.yml @@ -89,6 +89,11 @@ release_namespace: ingress-nginx-ns values_files: - /root/demo/ingress-controller/helm-values.yml + register: helm_result + changed_when: false + until: helm_result.rc != 0 + retries: 2 + delay: 5 - name: Cert Manager hosts: @@ -111,6 +116,11 @@ release_namespace: cert-manager-ns values_files: - /root/demo/cert-manager/helm-values.yml + register: helm_result + changed_when: false + until: helm_result.rc != 0 + retries: 2 + delay: 5 - name: Prepare CA certificate block: diff --git a/molecule/end-to-end_demo/molecule.yml b/molecule/end-to-end_demo/molecule.yml index decdcb6..5ed2845 100644 --- a/molecule/end-to-end_demo/molecule.yml +++ b/molecule/end-to-end_demo/molecule.yml @@ -243,5 +243,3 @@ scenario: - converge - side_effect - verify - - cleanup - - destroy diff --git a/molecule/verify-common.yml b/molecule/verify-common.yml index 30cf58b..2f177cd 100644 --- a/molecule/verify-common.yml +++ b/molecule/verify-common.yml @@ -5,7 +5,7 @@ - name: Query health endpoint to show output # noqa: command-instead-of-module ansible.builtin.shell: | set -o pipefail && \ - curl -k https://localhost:6443/livez?verbose + curl -k --retry 5 https://localhost:6443/livez?verbose 2>/dev/null args: executable: /bin/bash register: curl_show