You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: preserve live-only fields in three-way merge for unstructured objects
- Change drift detection to apply new onto current (preserves live-only fields)
- Align cleanMetadataForPatch with deleteStatusAndTidyMetadata (add helm annotations)
- Update test case: manual annotations should be preserved, not cause a diff
This ensures three-way merge behavior matches strategic merge patch:
- Live-only fields (e.g., manual annotations) are preserved
- Drift on chart-owned fields (e.g., spec fields) is still detected
Signed-off-by: yxxhero <aiopsclub@163.com>
0 commit comments