Полный production-рефакторинг билдера, drift-reconcile и документации по up5
This commit is contained in:
@@ -236,11 +236,8 @@ reconcile_traffic():
|
||||
return NoChange
|
||||
|
||||
if drift.exists:
|
||||
if config.traffic.full_rebuild_on_drift:
|
||||
teardown_owned_topology(target, desired)
|
||||
apply_full_topology(target, desired)
|
||||
else:
|
||||
apply_incremental_fix(drift)
|
||||
teardown_owned_topology(target, desired)
|
||||
apply_full_topology(target, desired)
|
||||
verify_after_apply(target, desired)
|
||||
|
||||
if firewall_drift.exists:
|
||||
@@ -248,7 +245,7 @@ reconcile_traffic():
|
||||
verify_firewall_after_apply(target, firewall_desired)
|
||||
```
|
||||
|
||||
For v1, `full_rebuild_on_drift = true` is the safer default.
|
||||
For production v1, controlled full rebuild on drift is the only supported path.
|
||||
|
||||
Parser hardening requirements:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user