rancher / fleet

Deploy workloads from Git to large fleets of Kubernetes clusters
https://fleet.rancher.io/
Apache License 2.0
1.47k stars 216 forks source link

Gitopts reconciler just deletes the Bundle, not BundleDeployments #2597

Closed 0xavi0 closed 3 days ago

0xavi0 commented 4 days ago

As we are using finalizers for Bundles we can let the Bundle reconciler deal with its BundleDeployments and just delete the Bundle in the gitops reconciler.

That way we avoid having race conditions between both reconcilers trying to delete the same BundleDeployments

Related to: https://github.com/rancher/fleet/issues/2586