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
Copy file name to clipboardExpand all lines: api/v1beta2/ibmpowervsmachine_types.go
+38Lines changed: 38 additions & 0 deletions
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.
Copy file name to clipboardExpand all lines: config/crd/bases/infrastructure.cluster.x-k8s.io_ibmpowervsmachines.yaml
+73Lines changed: 73 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -593,6 +593,8 @@ spec:
593
593
Any transient errors that occur during the reconciliation of Machines
594
594
can be added as events to the Machine object and/or logged in the
595
595
controller's output.
596
+
597
+
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.
596
598
type: string
597
599
failureReason:
598
600
description: |-
@@ -612,6 +614,8 @@ spec:
612
614
Any transient errors that occur during the reconciliation of Machines
613
615
can be added as events to the Machine object and/or logged in the
614
616
controller's output.
617
+
618
+
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.
615
619
type: string
616
620
fault:
617
621
description: Fault will report if any fault messages for the vsi.
@@ -630,6 +634,75 @@ spec:
630
634
region:
631
635
description: Region specifies the Power VS Service instance region.
632
636
type: string
637
+
v1beta2:
638
+
description: v1beta2 groups all the fields that will be added or modified
639
+
in IBMPowerVSMachine's status with the V1Beta2 version.
640
+
properties:
641
+
conditions:
642
+
description: |-
643
+
conditions represents the observations of a IBMPowerVSMachine's current state.
644
+
Known condition types are Ready, InstanceReady and Paused.
645
+
items:
646
+
description: Condition contains details for one aspect of the
647
+
current state of this API Resource.
648
+
properties:
649
+
lastTransitionTime:
650
+
description: |-
651
+
lastTransitionTime is the last time the condition transitioned from one status to another.
652
+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
653
+
format: date-time
654
+
type: string
655
+
message:
656
+
description: |-
657
+
message is a human readable message indicating details about the transition.
658
+
This may be an empty string.
659
+
maxLength: 32768
660
+
type: string
661
+
observedGeneration:
662
+
description: |-
663
+
observedGeneration represents the .metadata.generation that the condition was set based upon.
664
+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
665
+
with respect to the current state of the instance.
666
+
format: int64
667
+
minimum: 0
668
+
type: integer
669
+
reason:
670
+
description: |-
671
+
reason contains a programmatic identifier indicating the reason for the condition's last transition.
672
+
Producers of specific condition types may define expected values and meanings for this field,
673
+
and whether the values are considered a guaranteed API.
674
+
The value should be a CamelCase string.
675
+
This field may not be empty.
676
+
maxLength: 1024
677
+
minLength: 1
678
+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
679
+
type: string
680
+
status:
681
+
description: status of the condition, one of True, False,
682
+
Unknown.
683
+
enum:
684
+
- "True"
685
+
- "False"
686
+
- Unknown
687
+
type: string
688
+
type:
689
+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
0 commit comments