From 6b5f186b2cfee7d93f429b959d1fdb174993541b Mon Sep 17 00:00:00 2001 From: DangPeng Liu Date: Thu, 19 Sep 2024 09:59:13 +0800 Subject: [PATCH] fix install hosted in other ns (#1107) Signed-off-by: DangPeng Liu --- .../hubofhubs/webhook/manifests/addondeploymentconfig.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/operator/pkg/controllers/hubofhubs/webhook/manifests/addondeploymentconfig.yaml b/operator/pkg/controllers/hubofhubs/webhook/manifests/addondeploymentconfig.yaml index 9033cc195..bc8ab526c 100644 --- a/operator/pkg/controllers/hubofhubs/webhook/manifests/addondeploymentconfig.yaml +++ b/operator/pkg/controllers/hubofhubs/webhook/manifests/addondeploymentconfig.yaml @@ -3,7 +3,7 @@ apiVersion: addon.open-cluster-management.io/v1alpha1 kind: AddOnDeploymentConfig metadata: name: global-hub - namespace: multicluster-global-hub + namespace: {{.Namespace}} labels: cluster.open-cluster-management.io/backup: globalhub spec: