Skip to content

Commit

Permalink
managed-by secret label is set to lifecycle-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
Disper committed Dec 12, 2023
1 parent 26c38ea commit f792663
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/controller/gardener_cluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ func (controller *GardenerClusterController) newSecret(cluster imv1.GardenerClus
for key, val := range cluster.Labels {
labels[key] = val
}
labels["operator.kyma-project.io/managed-by"] = "infrastructure-manager"
labels["operator.kyma-project.io/managed-by"] = "lifecycle-manager"
labels[clusterCRNameLabel] = cluster.Name

return corev1.Secret{
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/gardener_cluster_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"] = "infrastructure-manager"
labels["operator.kyma-project.io/managed-by"] = "lifecycle-manager"
labels["operator.kyma-project.io/cluster-name"] = kymaName
return labels
}
Expand Down

0 comments on commit f792663

Please sign in to comment.