You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adopt CAPI v2beta2 status changes and respective controller changes for IBMPowerVSMachine (#2272)
* Add v1beta2 conditions to IBMPowerVSMachine
* Add watch-filter flag to enable controller to watch for label
* Add v1beta2 condition constants
* Standardise controller and update logs
* Test fixes after controller changes
* Remove println in test files
// IBMPowerVSMachineInstanceWaitingForClusterInfrastructureReadyV1Beta2Reason documents the virtual machine that is controller by
54
+
// IBMPowerVSMachine waiting for the cluster infrastructure to be ready.
55
+
// TODO: Use when CAPI version is updated: IBMPowerVSMachineInstanceWaitingForClusterInfrastructureReadyV1Beta2Reason = capiv1beta1.WaitingForClusterInfrastructureReadyV1Beta2Reason.
// IBMPowerVSMachineInstanceWaitingForControlPlaneInitializedV1Beta2Reason documents the virtual machine that is controller by IBMPowerVSMachine waiting
59
+
// for the control plane to be initialized.
60
+
// TODO: Use when CAPI version is updated: IBMPowerVSMachineInstanceWaitingForControlPlaneInitializedV1Beta2Reason = capiv1beta1.WaitingForControlPlaneInitializedV1Beta2Reason.
// IBMPowerVSMachineInstanceWaitingForBootstrapDataV1Beta2Reason documents the virtual machine that is controller by IBMPowerVSMachine waiting for the bootstrap
64
+
// data to be ready.
65
+
// TODO: Use when CAPI version is updated: IBMPowerVSMachineInstanceWaitingForBootstrapDataV1Beta2Reason = capiv1beta1.WaitingForBootstrapDataV1Beta2Reason.
Copy file name to clipboardExpand all lines: api/v1beta2/ibmpowervsmachine_types.go
+38
Original file line number
Diff line number
Diff line change
@@ -197,6 +197,9 @@ type IBMPowerVSMachineStatus struct {
197
197
// Any transient errors that occur during the reconciliation of Machines
198
198
// can be added as events to the Machine object and/or logged in the
199
199
// controller's output.
200
+
//
201
+
// Deprecated: This field is deprecated and is going to be removed in the next apiVersion. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details.
@@ -216,6 +219,9 @@ type IBMPowerVSMachineStatus struct {
216
219
// Any transient errors that occur during the reconciliation of Machines
217
220
// can be added as events to the Machine object and/or logged in the
218
221
// controller's output.
222
+
//
223
+
// Deprecated: This field is deprecated and is going to be removed in the next apiVersion. Please see https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more details.
// IBMPowerVSMachineV1Beta2Status groups all the fields that will be added or modified in IBMPowerVSMachineStatus with the V1Beta2 version.
244
+
// See https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20240916-improve-status-in-CAPI-resources.md for more context.
245
+
typeIBMPowerVSMachineV1Beta2Statusstruct {
246
+
// conditions represents the observations of a IBMPowerVSMachine's current state.
247
+
// Known condition types are Ready, InstanceReady and Paused.
0 commit comments