recovery(ananke): reassert final flux hold after drain
This commit is contained in:
parent
62d9791b76
commit
6b777b8c74
@ -1102,6 +1102,11 @@ force_recovery_flux_suspend_with_controller_stop() {
|
|||||||
sleep "${RECOVERY_FLUX_SUSPEND_VERIFY_SLEEP_SECONDS}"
|
sleep "${RECOVERY_FLUX_SUSPEND_VERIFY_SLEEP_SECONDS}"
|
||||||
else
|
else
|
||||||
warn "Leaving kustomize-controller stopped to preserve the recovery Flux hold."
|
warn "Leaving kustomize-controller stopped to preserve the recovery Flux hold."
|
||||||
|
sleep "${RECOVERY_FLUX_SUSPEND_VERIFY_SLEEP_SECONDS}"
|
||||||
|
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_without_snapshot true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local unsuspended
|
local unsuspended
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user