addon-operator
addon-operator copied to clipboard
fix: ignore KubeConfig events before first converge
Overview
Supporting changes for https://github.com/deckhouse/deckhouse/pull/1729
- Prevent queueing ConvergeModules while running global hooks at startup
- Add tracking last error for ModuleRun, ModuleDelete and ModuleHookRun
- Add GetModuleNames method
What this PR does / why we need it
Global hook in 1729 changes ConfigMap and premature KubeConfigChanged event breaks enabled modules state.
Special notes for your reviewer
Does this PR introduce a user-facing change?