recovery(ananke): apply flux hold before suspension

This commit is contained in:
jenkins 2026-06-18 19:58:11 -03:00
parent 6c5f31a2aa
commit 47b59a4f62

View File

@ -1551,9 +1551,6 @@ resume_deadlock_automation_after_core_recovery() {
fi
patch_flux_suspend_all false
if [[ "${RECOVERY_FLUX_SUSPEND_BOOTSTRAP_KUSTOMIZATION}" == "1" || "${RECOVERY_FLUX_SUSPEND_BOOTSTRAP_KUSTOMIZATION}" == "true" ]]; then
patch_kustomization_suspend flux-system true
fi
patch_recovery_optional_flux_suspend true
if kubectl -n flux-system get deployment kustomize-controller >/dev/null 2>&1; then
run kubectl -n flux-system scale deployment kustomize-controller --replicas=1