@@ -22,9 +22,9 @@ import (
2222)
2323
2424const (
25- // ClusterLabelName is the label set on machines linked to a cluster and
25+ // ClusterNameLabel is the label set on machines linked to a cluster and
2626 // external objects(bootstrap and infrastructure providers).
27- ClusterLabelName = "cluster.x-k8s.io/cluster-name"
27+ ClusterNameLabel = "cluster.x-k8s.io/cluster-name"
2828
2929 // ClusterTopologyOwnedLabel is the label set on all the object which are managed as part of a ClusterTopology.
3030 ClusterTopologyOwnedLabel = "topology.cluster.x-k8s.io/owned"
@@ -45,18 +45,18 @@ const (
4545 // When removing also remove from staticcheck exclude-rules for SA1019 in golangci.yml.
4646 ClusterTopologyManagedFieldsAnnotation = "topology.cluster.x-k8s.io/managed-field-paths"
4747
48- // ClusterTopologyMachineDeploymentLabelName is the label set on the generated MachineDeployment objects
48+ // ClusterTopologyMachineDeploymentNameLabel is the label set on the generated MachineDeployment objects
4949 // to track the name of the MachineDeployment topology it represents.
50- ClusterTopologyMachineDeploymentLabelName = "topology.cluster.x-k8s.io/deployment-name"
50+ ClusterTopologyMachineDeploymentNameLabel = "topology.cluster.x-k8s.io/deployment-name"
5151
5252 // ClusterTopologyUnsafeUpdateClassNameAnnotation can be used to disable the webhook check on
5353 // update that disallows a pre-existing Cluster to be populated with Topology information and Class.
5454 ClusterTopologyUnsafeUpdateClassNameAnnotation = "unsafe.topology.cluster.x-k8s.io/disable-update-class-name-check"
5555
56- // ProviderLabelName is the label set on components in the provider manifest.
56+ // ProviderNameLabel is the label set on components in the provider manifest.
5757 // This label allows to easily identify all the components belonging to a provider; the clusterctl
5858 // tool uses this label for implementing provider's lifecycle operations.
59- ProviderLabelName = "cluster.x-k8s.io/provider"
59+ ProviderNameLabel = "cluster.x-k8s.io/provider"
6060
6161 // ClusterNameAnnotation is the annotation set on nodes identifying the name of the cluster the node belongs to.
6262 ClusterNameAnnotation = "cluster.x-k8s.io/cluster-name"
@@ -80,10 +80,10 @@ const (
8080 // on the reconciled object.
8181 PausedAnnotation = "cluster.x-k8s.io/paused"
8282
83- // DisableMachineCreate is an annotation that can be used to signal a MachineSet to stop creating new machines.
83+ // DisableMachineCreateAnnotation is an annotation that can be used to signal a MachineSet to stop creating new machines.
8484 // It is utilized in the OnDelete MachineDeploymentStrategy to allow the MachineDeployment controller to scale down
8585 // older MachineSets when Machines are deleted and add the new replicas to the latest MachineSet.
86- DisableMachineCreate = "cluster.x-k8s.io/disable-machine-create"
86+ DisableMachineCreateAnnotation = "cluster.x-k8s.io/disable-machine-create"
8787
8888 // WatchLabel is a label othat can be applied to any Cluster API object.
8989 //
0 commit comments