@@ -135,8 +135,8 @@ const (
135
135
// MachineBootstrapDataSecretDataSecretUserProvidedV1Beta2Reason surfaces when a bootstrap data secret is provided by the user (without a ConfigRef).
136
136
MachineBootstrapDataSecretDataSecretUserProvidedV1Beta2Reason = "DataSecretUserProvided"
137
137
138
- // MachineBootstrapInvalidConfigV1Beta2Reason surfaces when MachineBootstrap doesn't have the Boostrap.ConfigRef nor a
139
- // Bootstrap.DataSecretName specified by the users .
138
+ // MachineBootstrapInvalidConfigV1Beta2Reason surfaces when Machine's spec.bootstrap doesn't have configRef nor a
139
+ // dataSecretName set .
140
140
MachineBootstrapInvalidConfigV1Beta2Reason = "InvalidConfig"
141
141
142
142
// MachineBootstrapConfigInvalidConditionReportedV1Beta2Reason surfaces a BootstrapConfig Ready condition (read from a bootstrap config object) which is invalid.
@@ -146,9 +146,12 @@ const (
146
146
// MachineBootstrapConfigReadyNoV1Beta2ReasonReported applies to a BootstrapConfig Ready condition (read from a bootstrap config object) that reports no reason.
147
147
MachineBootstrapConfigReadyNoV1Beta2ReasonReported = NoV1Beta2ReasonReported
148
148
149
- // MachineBootstrapConfigNotFoundV1Beta2Reason surfaces when a referenced bootstrap config object cannot be found.
149
+ // MachineBootstrapConfigInternalErrorV1Beta2Reason surfaces unexpected failures when reading a BootstrapConfig object.
150
+ MachineBootstrapConfigInternalErrorV1Beta2Reason = InternalErrorV1Beta2Reason
151
+
152
+ // MachineBootstrapConfigDoesNotExistV1Beta2Reason surfaces when a referenced bootstrap config object does not exist.
150
153
// Note: this could happen when creating the machine. However, this state should be treated as an error if it last indefinitely.
151
- MachineBootstrapConfigNotFoundV1Beta2Reason = RefObjectNotFoundV1Beta2Reason
154
+ MachineBootstrapConfigDoesNotExistV1Beta2Reason = RefObjectDoesNotExistV1Beta2Reason
152
155
153
156
// MachineBootstrapConfigDeletedV1Beta2Reason surfaces when a referenced bootstrap config object has been deleted.
154
157
// Note: controllers can't identify if the deletion process has been initiated by the controller itself, e.g.
@@ -169,9 +172,12 @@ const (
169
172
// MachineInfrastructureReadyNoV1Beta2ReasonReported applies to a infrastructure Ready condition (read from an infra machine object) that reports no reason.
170
173
MachineInfrastructureReadyNoV1Beta2ReasonReported = NoV1Beta2ReasonReported
171
174
172
- // MachineInfrastructureNotFoundV1Beta2Reason surfaces when a referenced infrastructure object cannot be found.
175
+ // MachineInfrastructureInternalErrorV1Beta2Reason surfaces unexpected failures when reading a BootstrapConfig object.
176
+ MachineInfrastructureInternalErrorV1Beta2Reason = InternalErrorV1Beta2Reason
177
+
178
+ // MachineInfrastructureDoesNotExistV1Beta2Reason surfaces when a referenced infrastructure object does not exist.
173
179
// Note: this could happen when creating the machine. However, this state should be treated as an error if it last indefinitely.
174
- MachineInfrastructureNotFoundV1Beta2Reason = RefObjectNotFoundV1Beta2Reason
180
+ MachineInfrastructureDoesNotExistV1Beta2Reason = RefObjectDoesNotExistV1Beta2Reason
175
181
176
182
// MachineInfrastructureDeletedV1Beta2Reason surfaces when a referenced infrastructure object has been deleted.
177
183
// Note: controllers can't identify if the deletion process has been initiated by the controller itself, e.g.
@@ -188,6 +194,9 @@ const (
188
194
// MachineNodeReadyV1Beta2Condition is true if the Machine's Node is ready.
189
195
MachineNodeReadyV1Beta2Condition = "NodeReady"
190
196
197
+ // MachineNodeConditionNotYetReportedV1Beta2Reason surfaces when a Machine's Node doesn't have a condition reported yet.
198
+ MachineNodeConditionNotYetReportedV1Beta2Reason = "NodeConditionNotYetReported"
199
+
191
200
// MachineNodeNotFoundV1Beta2Reason surfaces when the node hosted on the machine cannot be found.
192
201
// Note: this could happen when creating the machine. However, this state should be treated as an error if it last indefinitely.
193
202
MachineNodeNotFoundV1Beta2Reason = "NodeNotFound"
@@ -220,6 +229,12 @@ const (
220
229
const (
221
230
// MachinePausedV1Beta2Condition is true if the Machine or the Cluster it belongs to are paused.
222
231
MachinePausedV1Beta2Condition = PausedV1Beta2Condition
232
+
233
+ // MachineNotPausedV1Beta2Reason surfaces when a Machine is not paused.
234
+ MachineNotPausedV1Beta2Reason = NotPausedV1Beta2Reason
235
+
236
+ // MachineObjectPausedV1Beta2Reason surfaces when a Machine is paused.
237
+ MachineObjectPausedV1Beta2Reason = ObjectPausedV1Beta2Reason
223
238
)
224
239
225
240
// ANCHOR: MachineSpec
0 commit comments