@@ -180,3 +180,118 @@ const (
180
180
// Power VS infrastructure should be created as a part of cluster creation.
181
181
CreateInfrastructureAnnotation = "powervs.cluster.x-k8s.io/create-infra"
182
182
)
183
+
184
+ // IBMPowerVSCluster's Ready condition and corresponding reasons that will be used in v1Beta2 API version.
185
+ const (
186
+ // IBMPowerVSClusterReadyV1Beta2Condition is true if the IBMPowerVSCluster's deletionTimestamp is not set, IBMPowerVSCluster's
187
+ // FailureDomainsReady, VCenterAvailable and ClusterModulesReady conditions are true.
188
+ IBMPowerVSClusterReadyV1Beta2Condition = capiv1beta1 .ReadyV1Beta2Condition
189
+
190
+ // IBMPowerVSClusterReadyV1Beta2Reason surfaces when the IBMPowerVSCluster readiness criteria is met.
191
+ IBMPowerVSClusterReadyV1Beta2Reason = capiv1beta1 .ReadyV1Beta2Reason
192
+
193
+ // IBMPowerVSClusterNotReadyV1Beta2Reason surfaces when the IBMPowerVSCluster readiness criteria is not met.
194
+ IBMPowerVSClusterNotReadyV1Beta2Reason = capiv1beta1 .NotReadyV1Beta2Reason
195
+
196
+ // IBMPowerVSClusterReadyUnknownV1Beta2Reason surfaces when at least one of the IBMPowerVSCluster readiness criteria is unknown
197
+ // and none of the IBMPowerVSCluster readiness criteria is met.
198
+ IBMPowerVSClusterReadyUnknownV1Beta2Reason = capiv1beta1 .ReadyUnknownV1Beta2Reason
199
+ )
200
+
201
+ const (
202
+ // WorkspaceReadyV1Beta2Condition reports on the successful reconciliation of a PowerVS workspace.
203
+ WorkspaceReadyV1Beta2Condition = "WorkspaceReady"
204
+
205
+ // WorkspaceReadyV1Beta2Reason surfaces when the PowerVS workspace is ready.
206
+ WorkspaceReadyV1Beta2Reason = capiv1beta1 .ReadyV1Beta2Reason
207
+
208
+ // WorkspaceNotReadyV1Beta2Reason surfaces when PowerVS workspace is not ready.
209
+ WorkspaceNotReadyV1Beta2Reason = capiv1beta1 .NotReadyV1Beta2Reason
210
+
211
+ // WorkspaceDeletingV1Beta2Reason surfaces when the PowerVS workspace is being deleted.
212
+ WorkspaceDeletingV1Beta2Reason = capiv1beta1 .DeletingV1Beta2Reason
213
+
214
+ // NetworkReadyV1Beta2Condition reports on the successful reconciliation of a PowerVS network.
215
+ NetworkReadyV1Beta2Condition = "NetworkReady"
216
+
217
+ // NetworkReadyV1Beta2Reason surfaces when PowerVS workspace is ready.
218
+ NetworkReadyV1Beta2Reason = capiv1beta1 .ReadyV1Beta2Reason
219
+
220
+ // NetworkNotReadyV1Beta2Reason surfaces when the PowerVS network is not ready.
221
+ NetworkNotReadyV1Beta2Reason = capiv1beta1 .NotReadyV1Beta2Reason
222
+
223
+ // NetworkDeletingV1Beta2Reason surfaces when the PowerVS network is being deleted.
224
+ NetworkDeletingV1Beta2Reason = capiv1beta1 .DeletingV1Beta2Reason
225
+
226
+ // VPCReadyV1Beta2Condition reports on the successful reconciliation of a VPC.
227
+ VPCReadyV1Beta2Condition = "VPCReady"
228
+
229
+ // VPCReadyV1Beta2Reason surfaces when the VPC is ready.
230
+ VPCReadyV1Beta2Reason = capiv1beta1 .ReadyV1Beta2Reason
231
+
232
+ // VPCNotReadyV1Beta2Reason surfaces when VPC is not ready.
233
+ VPCNotReadyV1Beta2Reason = capiv1beta1 .NotReadyV1Beta2Reason
234
+
235
+ // VPCDeletingV1Beta2Reason surfaces when the VPC is being deleted.
236
+ VPCDeletingV1Beta2Reason = capiv1beta1 .DeletingV1Beta2Reason
237
+
238
+ // VPCSubnetReadyV1Beta2Condition reports on the successful reconciliation of a VPC subnet.
239
+ VPCSubnetReadyV1Beta2Condition = "VPCSubnetReady"
240
+
241
+ // VPCSubnetReadyV1Beta2Reason surfaces when the VPC subnet is ready.
242
+ VPCSubnetReadyV1Beta2Reason = capiv1beta1 .ReadyV1Beta2Reason
243
+
244
+ // VPCSubnetNotReadyV1Beta2Reason surfaces when VPC subnet is not ready.
245
+ VPCSubnetNotReadyV1Beta2Reason = capiv1beta1 .NotReadyV1Beta2Reason
246
+
247
+ // VPCSubnetDeletingV1Beta2Reason surfaces when the VPC subnet is being deleted.
248
+ VPCSubnetDeletingV1Beta2Reason = capiv1beta1 .DeletingV1Beta2Reason
249
+
250
+ // VPCSecurityGroupReadyV1Beta2Condition reports on the successful reconciliation of a VPC Security Group.
251
+ VPCSecurityGroupReadyV1Beta2Condition = "VPCSecurityGroupReady"
252
+
253
+ // VPCSecurityGroupReadyV1Beta2Reason surfaces when the VPC security group is ready.
254
+ VPCSecurityGroupReadyV1Beta2Reason = capiv1beta1 .ReadyV1Beta2Reason
255
+
256
+ // VPCSecurityGroupNotReadyV1Beta2Reason surfaces when VPC security group is not ready.
257
+ VPCSecurityGroupNotReadyV1Beta2Reason = capiv1beta1 .NotReadyV1Beta2Reason
258
+
259
+ // VPCSecurityGroupDeletingV1Beta2Reason surfaces when the VPC security group is being deleted.
260
+ VPCSecurityGroupDeletingV1Beta2Reason = capiv1beta1 .DeletingV1Beta2Reason
261
+
262
+ // TransitGatewayReadyV1Beta2Condition reports on the successful reconciliation of a transit gateway.
263
+ TransitGatewayReadyV1Beta2Condition = "TransitGatewayReady"
264
+
265
+ // TransitGatewayReadyV1Beta2Reason surfaces when the transit gateway is ready.
266
+ TransitGatewayReadyV1Beta2Reason = capiv1beta1 .ReadyV1Beta2Reason
267
+
268
+ // TransitGatewayNotReadyV1Beta2Reason surfaces when the transit gateway is not ready.
269
+ TransitGatewayNotReadyV1Beta2Reason = capiv1beta1 .NotReadyV1Beta2Reason
270
+
271
+ // TransitGatewayDeletingV1Beta2Reason surfaces when the transit gateway is being deleted.
272
+ TransitGatewayDeletingV1Beta2Reason = capiv1beta1 .DeletingV1Beta2Reason
273
+
274
+ // VPCLoadBalancerReadyV1Beta2Condition reports on the successful reconciliation of a VPC LoadBalancer.
275
+ VPCLoadBalancerReadyV1Beta2Condition = "LoadBalancerReady"
276
+
277
+ // VPCLoadBalancerReadyV1Beta2Reason surfaces when the VPC LoadBalancer is ready.
278
+ VPCLoadBalancerReadyV1Beta2Reason = capiv1beta1 .ReadyV1Beta2Reason
279
+
280
+ // VPCLoadBalancerNotReadyV1Beta2Reason surfaces when VPC LoadBalancer is not ready.
281
+ VPCLoadBalancerNotReadyV1Beta2Reason = capiv1beta1 .NotReadyV1Beta2Reason
282
+
283
+ // VPCLoadBalancerDeletingV1Beta2Reason surfaces when the VPC LoadBalancer is being deleted.
284
+ VPCLoadBalancerDeletingV1Beta2Reason = capiv1beta1 .DeletingV1Beta2Reason
285
+
286
+ // COSInstanceReadyV1Beta2Condition reports on the successful reconciliation of a COS instance.
287
+ COSInstanceReadyV1Beta2Condition = "COSInstanceReady"
288
+
289
+ // COSInstanceReadyV1Beta2Reason surfaces when the COS instance is ready.
290
+ COSInstanceReadyV1Beta2Reason = capiv1beta1 .ReadyV1Beta2Reason
291
+
292
+ // COSInstanceNotReadyV1Beta2Reason surfaces when the COS instance is not ready.
293
+ COSInstanceNotReadyV1Beta2Reason = capiv1beta1 .NotReadyV1Beta2Reason
294
+
295
+ // COSInstanceDeletingV1Beta2Reason surfaces when the COS instance is being deleted.
296
+ COSInstanceDeletingV1Beta2Reason = capiv1beta1 .DeletingV1Beta2Reason
297
+ )
0 commit comments