fleet
fleet copied to clipboard
Fleet controller uses Finalizer to Orphan BundleDeployments
For the controller-runtime controllers, replace the cleanup controller with finalizers.
- removal of bd by fleetcontroller would be blocked until agent does clean up and removes finalizer
- needs webhooks to add finalizer to user created resources. Maybe we can avoid webhooks, when cleanup uses automatically generated resources only?
WIP branch with an e2e test case for bundle cleanup, in case it might be helpful.