Skip to content

Commit

Permalink
Remove unused MachineDeployment constants
Browse files Browse the repository at this point in the history
 This was first added here kubernetes-sigs#143 and it's never been used.
  • Loading branch information
enxebre committed Sep 15, 2021
1 parent f8c3205 commit b104496
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions controllers/mdutil/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,6 @@ const (
// DefaultMachineDeploymentUniqueLabelKey is the label applied to Machines
// in a MachineDeployment containing the hash of the template.
DefaultMachineDeploymentUniqueLabelKey = "machine-template-hash"

// FailedMSCreateReason is added in a machine deployment when it cannot create a new machine set.
FailedMSCreateReason = "MachineSetCreateError"
// FoundNewMSReason is added in a machine deployment when it adopts an existing machine set.
FoundNewMSReason = "FoundNewMachineSet"
// PausedDeployReason is added in a deployment when it is paused. Lack of progress shouldn't be
// estimated once a deployment is paused.
PausedDeployReason = "DeploymentPaused"

// MinimumReplicasAvailable is added in a deployment when it has its minimum replicas required available.
MinimumReplicasAvailable = "MinimumReplicasAvailable"
// MinimumReplicasUnavailable is added in a deployment when it doesn't have the minimum required replicas
// available.
MinimumReplicasUnavailable = "MinimumReplicasUnavailable"
)

// MachineSetsByCreationTimestamp sorts a list of MachineSet by creation timestamp, using their names as a tie breaker.
Expand Down

0 comments on commit b104496

Please sign in to comment.