flant / addon-operator

A system to manage additional components for Kubernetes cluster in a simple, consistent and automated way.
https://flant.github.io/addon-operator/
Apache License 2.0
483 stars 27 forks source link

update module manager event handler #492

Closed miklezzzz closed 2 months ago

miklezzzz commented 2 months ago

Overview

This pr updates ManagerEventHandler logic in terms of preventing the graph's recalculation if the operator hasn't reached ConvergeModules tasks yet as it may interfere with running global hooks, resulting in a stuck queue.

What this PR does / why we need it

This pr update adds more conditional to make the operator's bootstrap process more robust.

Special notes for your reviewer