Azure / fleet

Multi-cluster core
MIT License
80 stars 25 forks source link

fix: enhance the member cluster leave flow #865

Closed ryanzhang-oss closed 4 months ago

ryanzhang-oss commented 4 months ago

Description of your changes

  1. fix the immediate bug by just listing all the work in the cluster namespace.
  2. issue the work finalizer removal in parallel.
  3. issue a foreground delete namespace before removing the finalizer on the MC object.
  4. handle the edge case that the imc does not exist.

Fixes #

I have:

How has this code been tested

Special notes for your reviewer