fleet: invalid_label_reference for magic labels
We’re seeing this error message in fleet-controller
across multiple bundles after upgrading to Rancher v2.6.2.
This didn’t use to happen and none of our objects have changed in Git.
level=error msg="error syncing 'fleet-local/velero-fleet-velero-config': handler bundle: invalid_label_reference global.fleet.clusterLabels.management.cattle.io/cluster-display-name in key clustername, requeuing"
Our fleet.yaml
helm:
values:
clustername: global.fleet.clusterLabels.management.cattle.io/cluster-display-name
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (3 by maintainers)
Commits related to this issue
- feat: fixes #689 by supporting default values in case label does not exist — committed to Shaked/fleet by Shaked 2 years ago
The fix is only available in Fleet 0.6.0-rc.1 onward or the nightly builds of course. Fleet 0.6.x will only be available in Rancher >= 2.7.2.
We did not back port the fix to Fleet 0.5.2, but we could if there is interest.
I did not move the card to the ready for QA column yet. Sorry for the confusion.