From a6e4a4de2408c3124d26400cc7200b12b29c143c Mon Sep 17 00:00:00 2001 From: Joe Nathan Abellard Date: Sat, 1 Mar 2025 17:22:38 -0500 Subject: [PATCH] Fix issues with running multiple Karmada instances in the same namespace Signed-off-by: Joe Nathan Abellard --- operator/pkg/constants/constants.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/operator/pkg/constants/constants.go b/operator/pkg/constants/constants.go index d8bc6e0ca..7373d6d3a 100644 --- a/operator/pkg/constants/constants.go +++ b/operator/pkg/constants/constants.go @@ -122,7 +122,9 @@ const ( // APIServiceName defines the karmada aggregated apiserver APIService resource name. APIServiceName = "v1alpha1.cluster.karmada.io" - AppNameLabel = "app.kubernetes.io/name" + // AppNameLabel defines the recommended label for identifying an application. + AppNameLabel = "app.kubernetes.io/name" + // AppInstanceLabel defines the recommended label for identifying an application instance. AppInstanceLabel = "app.kubernetes.io/instance" )