addon-controller icon indicating copy to clipboard operation
addon-controller copied to clipboard

Wait for resource to be gone

Open gianlucam76 opened this issue 9 months ago • 0 comments

When withdrawing resources from a managed cluster (because cluster is not a match anymore) sometimes it might be useful to let Sveltos verify the resource is gone before marking clusterSummary as removed.

The use case where this might be useful is in combination with dependsOn.

For instance if ClusterProfileB (deploys a CR) depends on ClusterProfileA (deploys a CRD), when ClusterProfileB is removed if the resource has a finalizer, it might be good to wait before proceeding removing ClusterProfileA

gianlucam76 avatar May 12 '25 14:05 gianlucam76