Files
kubernetes/pkg
yongruilin 2d7dd9164f Refactor: Centralize declarative validation and migration logic
The boilerplate for running declarative validation was duplicated across multiple resource strategies. This included feature gate checks, metric identifier generation, error comparison, and conditional merging logic, which made the code verbose and difficult to maintain.

This commit introduces a new helper function, `rest.ValidateDeclarativelyWithMigrationChecks`, to encapsulate this common logic. All relevant strategies have been refactored to use this new function, resulting in cleaner and more concise code.
2025-09-26 17:22:46 +00:00
..
2025-09-25 17:29:30 +00:00
2025-09-25 14:51:52 -04:00
2025-07-24 08:33:45 +02:00
2025-09-17 20:14:28 -04:00