File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
cmd/clusterctl/client/cluster/assets/topology-test Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,8 @@ spec:
110
110
maxSurge : 1
111
111
type : RollingUpdate
112
112
version : v1.21.2
113
+ status :
114
+ version : v1.21.2
113
115
---
114
116
apiVersion : infrastructure.cluster.x-k8s.io/v1beta1
115
117
kind : DockerMachineTemplate
Original file line number Diff line number Diff line change @@ -154,6 +154,11 @@ func NewUpgradeTracker(opts ...UpgradeTrackerOption) *UpgradeTracker {
154
154
155
155
// IsControlPlaneStable returns true is the ControlPlane is stable.
156
156
func (t * ControlPlaneUpgradeTracker ) IsControlPlaneStable () bool {
157
+ // If the current control plane is provisioning it is not considered stable.
158
+ if t .IsProvisioning {
159
+ return false
160
+ }
161
+
157
162
// If the current control plane is upgrading it is not considered stable.
158
163
if t .IsUpgrading {
159
164
return false
You can’t perform that action at this time.
0 commit comments