recovery(ananke): apply flux hold before suspension
This commit is contained in:
parent
6c5f31a2aa
commit
47b59a4f62
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user