rancher / fleet

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

Fleet bundles get deleted if their name is generated #795

Open ADustyOldMuffin opened 2 years ago

ADustyOldMuffin commented 2 years ago

When a bundle name is too long its truncated and the last 5 or so digits are generated and added to the end of the name. The issue is fleet-controller looks for the original name and when it finds the generated name it doesn't recognize it and deletes it.

0x4c6565 commented 2 years ago

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

0x4c6565 commented 2 years ago

One workaround I've found is to add an explicit helm release name into the bundle fleet.yaml config (even if your bundle isn't using Helm):

helm:
  releaseName: somerelease