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" )