Skip to content

Commit

Permalink
changes managed-by label from lifecycle-manager to infrastructure-man…
Browse files Browse the repository at this point in the history
…ager
  • Loading branch information
Disper committed Dec 28, 2023
1 parent c7b54f6 commit 459428b
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 @@ -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{
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"] = "lifecycle-manager"
labels["operator.kyma-project.io/managed-by"] = "infrastructure-manager"
labels["operator.kyma-project.io/cluster-name"] = kymaName
return labels
}
Expand Down

0 comments on commit 459428b

Please sign in to comment.