Do not add managed label instead of the annotation
for the namespace object.
@@ -105,9 +105,6 @@ func agentToken(ctx context.Context, agentNamespace, controllerNamespace string,
&v1.Namespace{
ObjectMeta: metav1.ObjectMeta{
Name: agentNamespace,
- Labels: map[string]string{
- fleet.ManagedLabel: "true",
- },
},
},
// fleet-agent-bootstrap
