addon-controller
addon-controller copied to clipboard
Wait for resource to be gone
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