From 7e8f4ace44f53b3d511d2ea6683c1c0ebcd89579 Mon Sep 17 00:00:00 2001 From: fusida <821857511@qq.com> Date: Fri, 17 Sep 2021 18:47:26 -0700 Subject: [PATCH] [bugfix] add tenant ns annotation --- pkg/ctrlmgr/controllers/tenant/tenant_controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/ctrlmgr/controllers/tenant/tenant_controller.go b/pkg/ctrlmgr/controllers/tenant/tenant_controller.go index b1f034821..1a1d61cbf 100644 --- a/pkg/ctrlmgr/controllers/tenant/tenant_controller.go +++ b/pkg/ctrlmgr/controllers/tenant/tenant_controller.go @@ -117,6 +117,7 @@ func (r *TenantReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctr Name: nsName, Annotations: map[string]string{ "kubecube.io/sync": "1", + "hnc.x-k8s.io/ns": "true", }, }, }