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 hash instability, file collision, and sort performance in addon-controller
Silent file loss when deploying from Flux sources with nested directories
When reading files from a Flux source path, the code was keying each file by its
bare filename rather than its path relative to the source root. If two files in
different subdirectories shared the same name, the second one silently overwrote
the first, causing part of the content to be dropped without any error. The fix
uses the relative path as the key.
Non-deterministic hash for DriftExclusion ordering
SortedDriftExclusions.Less() compared entries using only their Paths field.
Two entries with identical paths but different Target fields compared as equal,
so the sort was free to place them in any order. Because the sorted slice feeds
directly into the spec hash used by ClusterPromotionReconciler, the hash could
differ between runs for semantically identical specs, triggering spurious promotion
re-evaluations. The sort now includes Target (Group, Version, Kind, Namespace, Name)
as a stable tiebreaker.
Profile spec hash was non-deterministic for map fields and used a slow renderer
0 commit comments