File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ const (
5454 v1ClusterMigrated = "cluster-api.cattle.io/migrated"
5555 fleetNamespaceMigrated = "cluster-api.cattle.io/fleet-namespace-migrated"
5656 fleetDisabledLabel = "cluster-api.cattle.io/disable-fleet-auto-import"
57- externalFleetAnnotation = "provisioning.cattle.io/externally-managed"
5857
5958 defaultRequeueDuration = 1 * time .Minute
6059 trueValue = "true"
Original file line number Diff line number Diff line change @@ -591,8 +591,8 @@ func (r *CAPIImportManagementV3Reconciler) optOutOfFleetManagement(ctx context.C
591591 annotations = map [string ]string {}
592592 }
593593
594- if _ , found := annotations [externalFleetAnnotation ]; ! found {
595- annotations [externalFleetAnnotation ] = trueValue
594+ if _ , found := annotations [turtlesannotations . ExternalFleetAnnotation ]; ! found {
595+ annotations [turtlesannotations . ExternalFleetAnnotation ] = trueValue
596596 rancherCluster .SetAnnotations (annotations )
597597
598598 log .Info ("Added fleet annotation to Rancher cluster" )
You can’t perform that action at this time.
0 commit comments