commit 5a304af6e1f424fd5c5e2bba907428bc0d402cfd
Author: Rei Oliveira <email address hidden>
Date: Fri Mar 15 11:40:26 2024 -0300
Only wait for essential pods in cert recovery
The certificate recovery role will trigger a restart of every pod
in the k8s cluster so that they can be updated with the latest
certificate information.
After pods restart the procedure waits every pod to recover and become
READY. This change modifies that behaviour to only wait for essential
pods to recover, being those in the core namespaces armada,
cert-manager, flux-helm and kube-system.
Test case:
PASS: Run certificate recovery with crashing pods in a custom namespace
Closes-Bug: 2058751
Signed-off-by: Rei Oliveira <email address hidden>
Change-Id: I3ea403a3e324ecbb5f2c1f56d6ce1c8bd80fabee
Reviewed: https:/ /review. opendev. org/c/starlingx /ansible- playbooks/ +/913829 /opendev. org/starlingx/ ansible- playbooks/ commit/ 5a304af6e1f424f d5c5e2bba907428 bc0d402cfd
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 5a304af6e1f424f d5c5e2bba907428 bc0d402cfd
Author: Rei Oliveira <email address hidden>
Date: Fri Mar 15 11:40:26 2024 -0300
Only wait for essential pods in cert recovery
The certificate recovery role will trigger a restart of every pod
in the k8s cluster so that they can be updated with the latest
certificate information.
After pods restart the procedure waits every pod to recover and become
READY. This change modifies that behaviour to only wait for essential
pods to recover, being those in the core namespaces armada,
cert-manager, flux-helm and kube-system.
Test case:
PASS: Run certificate recovery with crashing pods in a custom namespace
Closes-Bug: 2058751
Signed-off-by: Rei Oliveira <email address hidden> bb5f2c1f56d6ce1 c8bd80fabee
Change-Id: I3ea403a3e324ec