From ca7e71b1279decf20cc37715b9dace4a02f4a790 Mon Sep 17 00:00:00 2001 From: Enxebre Date: Wed, 15 Sep 2021 17:00:30 +0200 Subject: [PATCH] Deprecate unused MachineDeployment constants This was first added here https://github.com/kubernetes-sigs/cluster-api/pull/143 and it's never been used. --- controllers/mdutil/util.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/controllers/mdutil/util.go b/controllers/mdutil/util.go index 8f74d8044414..0388989dc5d3 100644 --- a/controllers/mdutil/util.go +++ b/controllers/mdutil/util.go @@ -44,17 +44,24 @@ const ( DefaultMachineDeploymentUniqueLabelKey = "machine-template-hash" // FailedMSCreateReason is added in a machine deployment when it cannot create a new machine set. + // Deprecated: This field will be removed in a next release. FailedMSCreateReason = "MachineSetCreateError" + // FoundNewMSReason is added in a machine deployment when it adopts an existing machine set. + // Deprecated: This field will be removed in a next release. FoundNewMSReason = "FoundNewMachineSet" + // PausedDeployReason is added in a deployment when it is paused. Lack of progress shouldn't be // estimated once a deployment is paused. + // Deprecated: This field will be removed in a next release. PausedDeployReason = "DeploymentPaused" // MinimumReplicasAvailable is added in a deployment when it has its minimum replicas required available. + // Deprecated: This field will be removed in a next release. MinimumReplicasAvailable = "MinimumReplicasAvailable" // MinimumReplicasUnavailable is added in a deployment when it doesn't have the minimum required replicas // available. + // Deprecated: This field will be removed in a next release. MinimumReplicasUnavailable = "MinimumReplicasUnavailable" )