How do I force rancher fleet to generate a bundle ...
# fleet
a
How do I force rancher fleet to generate a bundle with helm.takeOwnership set to true?
context: I am testing GitRepo configurations. I removed one of our GitRepo configs that had a downstream cluster and the “keepResources” option enabled. This worked as expected, the GitRepo was removed but the downstream managed resources were kept. Now I am trying to re-add the GitRepo config to this cluster but the bundle bombs out as the resources are owned by the old configuration
Copy code
Modified(1) [Cluster fleet-default/saclab-harvester]; 
clusternetwork.network.harvesterhci.io service-net is not owned by us; networkattachmentdefinition.k8s.cni.cncf.io default/vmnet-mgmt is not owned by us; vlanconfig.network.harvesterhci.io service-bond is not owned by us
I tried to modify the bundle manually but if i try to force update the gitrepo it will override my manual changes.
I added a fleet.yaml file to my gitrepo with helm: takeOwnership but it seemed to have no effect. Im pretty sure this issue is this bug https://github.com/rancher/fleet/issues/2134. seems like it will be fixed in a future version of rancher fleet. Ill just go update the labels/annotations to work around this for now.