diff --git a/internal/controller/gardener_cluster_controller.go b/internal/controller/gardener_cluster_controller.go index 6bd8c859..b429a7ab 100644 --- a/internal/controller/gardener_cluster_controller.go +++ b/internal/controller/gardener_cluster_controller.go @@ -393,7 +393,7 @@ func (controller *GardenerClusterController) newSecret(cluster imv1.GardenerClus for key, val := range cluster.Labels { labels[key] = val } - labels["operator.kyma-project.io/managed-by"] = "lifecycle-manager" + labels["operator.kyma-project.io/managed-by"] = "infrastructure-manager" labels[clusterCRNameLabel] = cluster.Name return corev1.Secret{ diff --git a/internal/controller/gardener_cluster_controller_test.go b/internal/controller/gardener_cluster_controller_test.go index 4004e8bd..f60ae6fd 100644 --- a/internal/controller/gardener_cluster_controller_test.go +++ b/internal/controller/gardener_cluster_controller_test.go @@ -239,7 +239,7 @@ type TestSecret struct { func fixSecretLabels(kymaName, shootName string) map[string]string { labels := fixGardenerClusterLabels(kymaName, shootName) - labels["operator.kyma-project.io/managed-by"] = "lifecycle-manager" + labels["operator.kyma-project.io/managed-by"] = "infrastructure-manager" labels["operator.kyma-project.io/cluster-name"] = kymaName return labels }