From c6672b90df35c247347866313e52e7496321a18c Mon Sep 17 00:00:00 2001 From: Wen Zhou Date: Thu, 23 Jan 2025 18:44:37 +0100 Subject: [PATCH] fix: missing monitoring NS for NWP if user opt customized app NS (#1558) Signed-off-by: Wen Zhou (cherry picked from commit 63d4eaba75b1c4b9092b0a30b349e5e73e2e3d4a) --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index d866d913cee..efbbf9455ee 100644 --- a/main.go +++ b/main.go @@ -501,6 +501,7 @@ func getCommonCache(ctx context.Context, cli client.Client, platform cluster.Pla return namespaceConfigs, nil case 1: namespaceConfigs[cNamespaceList.Items[0].Name] = cache.Config{} + namespaceConfigs["redhat-ods-monitoring"] = cache.Config{} // since we still create monitoring namespace for self-managed default: return map[string]cache.Config{}, errors.New("only support max. one namespace with label: opendatahub.io/application-namespace: true") }